Skip to content

Commit

Permalink
Remove RSS icon from the social media list (jekyll#470)
Browse files Browse the repository at this point in the history
Merge pull request 470
  • Loading branch information
hszhakka authored Feb 17, 2020
1 parent 9049c25 commit f3de471
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ minima:
telegram: jekyll
microdotblog: jekyll
keybase: jekyll
rss: rss
mastodon:
- username: jekyll
Expand Down
1 change: 0 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ minima:
social_links:
twitter: jekyllrb
github: jekyll
rss: rss
# devto: jekyll
# dribbble: jekyll
# facebook: jekyll
Expand Down
8 changes: 7 additions & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@

<div class="footer-col-wrapper">
<div class="footer-col">
<h2 class="footer-heading">{{ site.title | escape }}</h2>
<p class="feed-subscribe">
<a href="{{ 'feed.xml' | relative_url }}">
<svg class="svg-icon orange">
<use xlink:href="{{ 'assets/minima-social-icons.svg#rss' | relative_url }}"></use>
</svg><span>Subscribe</span>
</a>
</p>
{%- if site.author %}
<ul class="contact-list">
{% if site.author.name -%}
Expand Down
1 change: 0 additions & 1 deletion _includes/social.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@
{%- if social.keybase -%}<li><a rel="me" href="https://keybase.io/{{ social.keybase | cgi_escape | escape }}" title="{{ social.keybase | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#keybase' | relative_url }}"></use></svg></a></li>{%- endif -%}
{%- if social.microdotblog -%}<li><a rel="me" href="https://micro.blog/{{ social.microdotblog | cgi_escape | escape }}" title="{{ social.microdotblog | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#microdotblog' | relative_url }}"></use></svg></a></li>{%- endif -%}
{%- if social.devto -%}<li><a href="https://dev.to/{{ social.devto | cgi_escape | escape }}" title="{{ social.devto | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#devto' | relative_url }}"></use></svg></a></li>{%- endif -%}
{%- if social.rss -%}<li><a href="{{ 'feed.xml' | relative_url }}" title="{{ social.rss | escape }}"><svg class="svg-icon grey"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg></a></li>{%- endif -%}
</ul>
5 changes: 0 additions & 5 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ <h3>
</div>
{%- endif %}

<p class="feed-subscribe">
<a href="{{ 'feed.xml' | relative_url }}">
<svg class="svg-icon orange"><use xlink:href="{{ 'assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg><span>Subscribe</span>
</a>
</p>
{%- endif -%}

</div>
4 changes: 4 additions & 0 deletions _sass/minima/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@
margin-bottom: $spacing-unit / 2;
}

.feed-subscribe .svg-icon {
padding: 5px 5px 2px 0
}

.contact-list,
.social-media-list {
list-style: none;
Expand Down

0 comments on commit f3de471

Please sign in to comment.