Skip to content

Commit d7420d5

Browse files
committed
Moved the RSS link to the sidebar
1 parent cc8fe6b commit d7420d5

File tree

5 files changed

+14
-6
lines changed

5 files changed

+14
-6
lines changed

app/Resources/views/base.html.twig

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@
4545
<ul class="nav navbar-nav navbar-right">
4646

4747
{% block header_navigation_links %}
48-
<li>
49-
<a href="{{ path('blog_rss') }}">
50-
<i class="fa fa-rss" aria-hidden="true"></i> {{ 'menu.rss'|trans }}
51-
</a>
52-
</li>
53-
5448
<li>
5549
<a href="{{ path('blog_index') }}">
5650
<i class="fa fa-home" aria-hidden="true"></i> {{ 'menu.homepage'|trans }}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div class="section rss">
2+
<a href="{{ path('blog_rss') }}">
3+
<i class="fa fa-rss" aria-hidden="true"></i> {{ 'menu.rss'|trans }}
4+
</a>
5+
</div>

app/Resources/views/blog/index.html.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@
2828
{{ parent() }}
2929

3030
{{ show_source_code(_self) }}
31+
{{ include('blog/_rss.html.twig') }}
3132
{% endblock %}

app/Resources/views/blog/post_show.html.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,5 @@
6363
{{ parent() }}
6464

6565
{{ show_source_code(_self) }}
66+
{{ include('blog/_rss.html.twig') }}
6667
{% endblock %}

web/css/main.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ footer #footer-resources i {
118118
min-width: 75px
119119
}
120120

121+
/* Misc. elements
122+
------------------------------------------------------------------------- */
123+
.section.rss a {
124+
color: #f39c12;
125+
font-size: 21px;
126+
}
127+
121128
/* Forms
122129
------------------------------------------------------------------------- */
123130
.form-group.has-error .form-control {

0 commit comments

Comments
 (0)