Skip to content

Commit

Permalink
feat(footer): add email subscription link (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbeg authored Jul 30, 2020
1 parent 2abbad0 commit b6e5e5a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ guardian:
twitter: <TWITTER_USERNAME>
github_org: <GITHUB_ORGANIZATION_NAME>
github_repo: <GITHUB_REPOSITORY_NAME>
email_subscription_url: <EMAIL_SUBSCRIPTION_URL>
tracking:
google_analytics_code: <GOOGLE_ANANLYTICS_CODE>
disqus_shortname: <DISQUS_SHORTNAME>
Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ guardian:
twitter: widendev
github_org: widen
github_repo: jekyll-theme-guardian
email_subscription_url: https://widen.com
tracking:
google_analytics_code:
disqus_shortname:
3 changes: 3 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
<nav>
<ul class="site-social-links inline">
<li><a target="_blank" title="RSS Feed" href="/feed.xml" class="ion-social-rss"></a></li>
{% if site.guardian.social_links.email_subscription_url %}
<li><a target="_blank" title="Email Subscription" href="{{ site.guardian.social_links.email_subscription_url }}" class="ion-email-unread"></a></li>
{% endif %}
<li><a target="_blank" title="GitHub" href="https://github.com/{{ site.guardian.social_links.github_org }}" class="ion-social-github"></a></li>
<li><a target="_blank" title="Twitter" href="https://twitter.com/{{ site.guardian.social_links.twitter }}" class="ion-social-twitter"></a></li>
</ul>
Expand Down

0 comments on commit b6e5e5a

Please sign in to comment.