Adding RSS to example page and to social partial, uses the blog's RSS (#18)
* Adding RSS to example page and to social partial, uses the blog's RSS * Change "if" to "with" Co-authored-by: Nurlan Suyundukov <dev@nurlan.co>
This commit is contained in:
parent
449ad44156
commit
615e0611b5
@ -27,6 +27,7 @@ theme = "hugo-sustain"
|
|||||||
Stackoverflow = "username"
|
Stackoverflow = "username"
|
||||||
Medium = "username"
|
Medium = "username"
|
||||||
Telegram = "username"
|
Telegram = "username"
|
||||||
|
RSS = "/blog/index.xml"
|
||||||
|
|
||||||
## Main Menu
|
## Main Menu
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
|
@ -27,5 +27,9 @@
|
|||||||
{{ with .Site.Params.Social.Telegram }}
|
{{ with .Site.Params.Social.Telegram }}
|
||||||
<li><a href="https://telegram.me/{{ . }}"><i class="fa fa-telegram"></i></a></li>
|
<li><a href="https://telegram.me/{{ . }}"><i class="fa fa-telegram"></i></a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ with .Site.Params.Social.RSS }}
|
||||||
|
<li><a href="{{ . }}"><i class="fa fa-rss"></i></a></li>
|
||||||
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user