Refactors and project cleanup (#18)

Disable taxonomy types.

Put the simple software data in the home page content file.

Navbar can be cached.

Make the CSS assets and bundle the global CSS.

Can cache the scripts and the footer.

Global CSS and JS partials.

These don't make any sense.

Fix baseof titling.

Move navbar and footer out of directories where they are the only files, update base template.

Reviewed-by: jeff <jeff@simplesystems.tech>
This commit is contained in:
2020-06-12 00:42:10 +00:00
committed by jeff
parent ed202c3523
commit 696731b1b5
15 changed files with 21 additions and 21 deletions

View File

@ -0,0 +1,8 @@
{{ $sheets := slice }}
{{ range slice "icons.css" "simplesystems.css" "light-theme.css" }}
{{ $sheets = $sheets | append (resources.Get .) }}
{{ end }}
{{ $css := $sheets | resources.Concat "/css/main.css" | resources.Fingerprint "sha512" }}
<link rel="stylesheet" href="{{ $css.RelPermalink }}" integrity="{{ $css.Data.Integrity }}">

View File

@ -7,7 +7,7 @@
</div>
<div class="row justify-center">
{{ range $.Site.Data.home.ssattrs }}
{{ range $ }}
<div class="col xs-12 sm-10 md-6">
{{ partial "cards/home-card.html" . }}
</div>