*Major Overhaul* Give theme a modern look!

This commit is contained in:
Joe Hutchinson
2020-10-21 17:55:25 -04:00
parent e68d21541a
commit f222420c12
12 changed files with 249 additions and 67 deletions

View File

@@ -1,3 +1,21 @@
<footer>
<footer class="side-padding">
<a href="{{ $.Site.BaseURL }}" class="footer-link">
{{ with resources.Get "icons/home-page.png" }}
<img class="footer-icon" src="{{ .Permalink }}">
{{ end }}
</a>
{{ if isset $.Site.Params "github"}}
<a href="{{ $.Site.Params.github }}" class="footer-link">
{{ with resources.Get "icons/github.png" }}
<img class="footer-icon" src="{{ .Permalink }}" />
{{ end }}
</a>
{{ end }}
{{ if isset $.Site.Params "linkedin"}}
<a href="{{ $.Site.Params.linkedin }}" class="footer-link">
{{ with resources.Get "icons/linkedin.png" }}
<img class="footer-icon" src="{{ .Permalink }}" />
{{ end }}
</a>
{{ end }}
</footer>

View File

@@ -27,9 +27,8 @@
{{ end -}}
{{ $normalizeStyle := resources.Get "css/normalize.css" }}
{{ $mainStyle := resources.Get "css/style.css" }}
{{ $fontStyle := resources.Get "css/latolatinfonts.css" }}
{{ $overrideStyle := resources.Get "css/override.css" }}
{{ $style := slice $normalizeStyle $fontStyle $mainStyle $overrideStyle | resources.Concat "css/concated.css" | minify }}
{{ $style := slice $normalizeStyle $mainStyle $overrideStyle | resources.Concat "css/concated.css" | minify }}
<link href="{{ $style.Permalink }}" rel="stylesheet">
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}