mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Add avatar option and footer text option (#41)
* Add avatar option and footer text option * add responsive avatar for narrow screen * improvement of code * conflicts solved
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
<footer class="footer">
|
||||
<section class="container">
|
||||
{{ with .Site.Params.footercontent }}
|
||||
<p>{{.}}</p>
|
||||
{{ end }}
|
||||
{{ if not .Site.Params.hideCopyright }} © {{ .Site.LastChange.Format "2006" }} {{ end }} {{ if not .Site.Params.hideCredits}} {{ if not .Site.Params.hideCopyright }} · {{ end }} Powered by <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</a>. {{ end }}
|
||||
</section>
|
||||
</footer>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<section class="container centered">
|
||||
<div class="about">
|
||||
{{ with .Site.Params.avatarurl }}
|
||||
<div class="avatar"><img src="{{.}}" alt="avatar"></div>
|
||||
{{ end }}
|
||||
<h1>{{ .Site.Params.author }}</h1>
|
||||
<h2>{{ .Site.Params.info }}</h2>
|
||||
{{ with .Site.Params.social }}
|
||||
|
||||
Reference in New Issue
Block a user