615e0611b5
* 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>
36 lines
1.2 KiB
HTML
Executable File
36 lines
1.2 KiB
HTML
Executable File
<div class="social">
|
|
<ul class="social-links">
|
|
{{ with .Site.Params.Social.Github }}
|
|
<li><a href="https://github.com/{{ . }}"><i class="fa fa-github"></i></a></li>
|
|
{{ end }}
|
|
|
|
{{ with .Site.Params.Social.Email }}
|
|
<li><a href="mailto:{{ . }}"><i class="fa fa-envelope"></i></a></li>
|
|
{{ end }}
|
|
|
|
{{ with .Site.Params.Social.Twitter }}
|
|
<li><a href="https://twitter.com/{{ . }}"><i class="fa fa-twitter"></i></a></li>
|
|
{{ end }}
|
|
|
|
{{ with .Site.Params.Social.LinkedIn }}
|
|
<li><a href="https://linkedin.com/in/{{ . }}"><i class="fa fa-linkedin"></i></a></li>
|
|
{{ end }}
|
|
|
|
{{ with .Site.Params.Social.Stackoverflow }}
|
|
<li><a href="https://stackoverflow.com/{{ . }}"><i class="fa fa-stack-overflow"></i></a></li>
|
|
{{ end }}
|
|
|
|
{{ with .Site.Params.Social.Medium }}
|
|
<li><a href="https://medium.com/@{{ . }}"><i class="fa fa-medium"></i></a></li>
|
|
{{ end }}
|
|
|
|
{{ 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>
|