Skip to content

Commit

Permalink
Add about link in navigation with config #23
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsenramon committed Dec 12, 2016
1 parent 1a0dada commit 0d6a9a4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ blog_theme: light # Or use dark
discus_identifier: # Add your Disqus identifier
ga_analytics: # Add your GA Tracking Id
rss_enabled: true # Change to false if not
about_enabled: false # Change to true if you wish to show an icon in the navigation that redirects to the about page
social:
dribbble: # Add your Dribbble handle
facebook: # Add your Facebook handle
Expand Down
7 changes: 7 additions & 0 deletions _includes/navigation.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<nav class="header-nav reveal">
<a href="{{ '/' | relative_url }}" class="header-logo" title="{{ site.name }}">{{ site.name }}</a>
<ul class="header-links">
{% if site.about_enabled == true %}
<li>
<a href="{{ 'about' | relative_url }}" title="About me">
<span class="icon icon-android-person"></span>
</a>
</li>
{% endif %}
{% if site.social.twitter %}
<li>
<a href="https://twitter.com/{{ site.social.twitter }}" target="_blank" title="Twitter">
Expand Down

0 comments on commit 0d6a9a4

Please sign in to comment.