6 Commits

12 changed files with 17 additions and 18 deletions

3
content/_index.md Normal file
View File

@ -0,0 +1,3 @@
---
title:
---

View File

@ -4,26 +4,20 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="/icons.css"> {{ partialCached "css-global.html" . }}
<link rel="stylesheet" href="/simplesystems.css">
<link rel="stylesheet" href="/light-theme.css">
<link rel="shortcut icon" href="/favicon.ico"> <link rel="shortcut icon" href="/favicon.ico">
<title>{{ block "title" . }} <title>{{ .Site.Title }} {{ block "title" . }} {{ with .Title }} | {{ . }} {{ end }} {{ end }}</title>
{{ .Site.Title }}
{{ end }}</title>
</head> </head>
<body> <body>
{{ partial "navbar/site-navbar.html" . }} {{ partial "navbar.html" . }}
<main> <main>
{{ block "main" . }} {{ block "main" . }} {{ end }}
<!-- The part of the page that begins to differ between templates -->
{{ end }}
</main> </main>
{{ partial "footer/site-footer.html" . }} {{ partialCached "footer.html" . }}
{{ partial "scripts/scripts.html" . }} {{ partialCached "js-global.html" . }}
</body> </body>
</html> </html>

View File

@ -1,6 +1,4 @@
{{ define "main" }} {{ define "main" }}
{{ .Content }}
<div class="container"> <div class="container">
<div class="row"> <div class="row">
{{ range .Pages }} {{ range .Pages }}

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

@ -1,6 +1,4 @@
{{ define "main" }} {{ define "main" }}
{{ .Content }}
<div class="container"> <div class="container">
<div class="row text-center"> <div class="row text-center">
<div class="col xs-12"> <div class="col xs-12">

View File

@ -1,6 +1,4 @@
{{ define "main" }} {{ define "main" }}
{{ .Content }}
<div class="container"> <div class="container">
<div class="row text-center"> <div class="row text-center">
<div class="col xs-12"> <div class="col xs-12">