forked from Git/hugo-story
Upload files to 'layouts/partials'
This commit is contained in:
parent
a0003e730d
commit
fbb0b4788b
|
@ -5,10 +5,10 @@
|
|||
{{ with .subtitle }}<p class="major">{{ . | safeHTML }}</p>{{ end }}
|
||||
{{ with .content }}<p>{{ . | safeHTML }}</p>{{ end }}
|
||||
{{ with .button }}<ul class="actions stacked">
|
||||
<li><a href="{{ .link }}" class="button primary large wide smooth-scroll-middle">{{ .label }}</a></li>
|
||||
<li><a href="{{ .link }}" class="button default large wide smooth-scroll-middle">{{ .label }}</a></li>
|
||||
</ul>{{ end }}
|
||||
</div>
|
||||
{{ with .image }}<div class="image">
|
||||
<img src="{{.}}" alt="Hugo Story" />
|
||||
<img src="{{.}}" alt="AGR.asia" />
|
||||
</div>{{end}}
|
||||
</section>
|
||||
</section>
|
||||
|
|
|
@ -2,19 +2,18 @@
|
|||
<footer class="wrapper style1 align-center">
|
||||
<div class="inner">
|
||||
<ul class="icons">
|
||||
{{ with .Site.Params.social.github }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-github"><span class="label">Github</span></a></li>{{end}}
|
||||
{{ with .Site.Params.social.twitter }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-twitter"><span class="label">Twitter</span></a></li>{{end}}
|
||||
{{ with .Site.Params.social.instagram }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-instagram"><span class="label">Instagram</span></a></li>{{end}}
|
||||
{{ with .Site.Params.social.linkedin }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-linkedin"><span class="label">LinkedIn</span></a></li>{{end}}
|
||||
{{ with .Site.Params.social.email }}<li><a target="_blank" href="mailto:{{.}}" class="fav icon style2 fa-envelope"><span class="label">Email</span></a></li>{{end}}
|
||||
{{ with .Site.Params.social.git }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-git-alt"><span class="label">Git</span></a></li>{{end}}
|
||||
{{ with .Site.Params.social.mastodon }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-mastodon"><span class="label">Mastodon</span></a></li>{{end}}
|
||||
{{ with .Site.Params.social.linkedin }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-linkedin"><span class="label">LinkedIn</span></a></li>{{end}}
|
||||
|
||||
|
||||
</ul>
|
||||
<p>Hugo Story © 2020 <a target="_blank" href="https://github.com/caressofsteel/">CaressOfSteel</a><span class="footerspacer icon fa-diamond"></span>
|
||||
Ported from <a target="_blank" href="https://html5up.net/uploads/demos/story/">Story</a> by HTML5UP<span class="footerspacer icon fa-diamond"></span>
|
||||
Images courtesy of <a target="_blank" href="https://unsplash.com">Unsplash</a></p>
|
||||
<p>© AGR Asia Solutions Pte. Ltd. 2020 | Powered by <a target="_blank" href="https://gohugo.io/">Hugo</a> | Theme by <a target="_blank" href="https://github.com/caressofsteel/hugo-story">Caress Of Steel</a></p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- FontAwesome JS -->
|
||||
{{ range .Site.Params.asset.fontawesome_js -}}
|
||||
<script type="text/javascript" src="{{ . | absURL }}"></script>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in New Issue