-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Social links management #5
Comments
Hi @epidrome - Thanks for this minimalistic theme. Definitely agree that a more flexible system for social links management would make this theme even more awesome! Based on this, I have tried to implement a system that makes use of Jekyll Data Files (https://jekyllrb.com/docs/datafiles/) to be accessed via the page templating system. This allows the use of Yaml, Json or Csv format files that contain structured data and are made available via a dictionary based data-structure to the template. Here is my implementation:
You can see an example implementation of this system on my demo instance: https://vivekkrish.com/cover-card Look forward to your review and thoughts! If you feel like this is a good way forward, I can clean things up and issue PRs to your repo with some documentation on how to make use of this new system. Thank you! |
@vivekkrish thank you, your solution is very good! Before we move to the PRs, there are some comments from the point of view of simplicity for developers and users:
I am confident that your suggested changes will move the theme to version 0.4 and I am looking forward to your comments and/or pull request! |
Hi @epidrome, Thanks for the review and comments regarding my changes. Glad that you like it!
In all of these cases, the placeholder Keeping the above configuration separate from what the user will modify to set their site username ensures that the system is cleaner (which goes back to my initial decision to use Jekyll datafiles).
Thanks again for this wonderful theme! Look forward to making these changes into an official release. |
thanks @vivekkrish it looks great now!
|
Hi @epidrome,
Thank you! |
Consider adding a loop for social links. There are so many social links and there might be more in the future.
Moreover, users might want to customise the order of appearance
Consider full http url for social links added social networks #7
In addition to a loop we might want to organise them in a separate structure Use profile links from 'social' object #3
https://help.github.com/articles/repository-metadata-on-github-pages/
The text was updated successfully, but these errors were encountered: