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"
|
||||
Medium = "username"
|
||||
Telegram = "username"
|
||||
RSS = "/blog/index.xml"
|
||||
|
||||
## Main Menu
|
||||
[[menu.main]]
|
||||
|
@ -27,5 +27,9 @@
|
||||
{{ with .Site.Params.Social.Telegram }}
|
||||
<li><a href="https://telegram.me/{{ . }}"><i class="fa fa-telegram"></i></a></li>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Site.Params.Social.RSS }}
|
||||
<li><a href="{{ . }}"><i class="fa fa-rss"></i></a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user