Compare commits
6 Commits
master
...
5743d57d6d
Author | SHA1 | Date | |
---|---|---|---|
5743d57d6d | |||
13a4561745 | |||
11bb22ab30 | |||
ede280bb64 | |||
6e9771cffc | |||
56aba374b8 |
3
content/_index.md
Normal file
3
content/_index.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title:
|
||||
---
|
@ -4,26 +4,20 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
||||
<link rel="stylesheet" href="/icons.css">
|
||||
<link rel="stylesheet" href="/simplesystems.css">
|
||||
<link rel="stylesheet" href="/light-theme.css">
|
||||
{{ partialCached "css-global.html" . }}
|
||||
<link rel="shortcut icon" href="/favicon.ico">
|
||||
|
||||
<title>{{ block "title" . }}
|
||||
{{ .Site.Title }}
|
||||
{{ end }}</title>
|
||||
<title>{{ .Site.Title }} {{ block "title" . }} {{ with .Title }} | {{ . }} {{ end }} {{ end }}</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{ partial "navbar/site-navbar.html" . }}
|
||||
{{ partial "navbar.html" . }}
|
||||
|
||||
<main>
|
||||
{{ block "main" . }}
|
||||
<!-- The part of the page that begins to differ between templates -->
|
||||
{{ end }}
|
||||
{{ block "main" . }} {{ end }}
|
||||
</main>
|
||||
|
||||
{{ partial "footer/site-footer.html" . }}
|
||||
{{ partial "scripts/scripts.html" . }}
|
||||
{{ partialCached "footer.html" . }}
|
||||
{{ partialCached "js-global.html" . }}
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,6 +1,4 @@
|
||||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{{ range .Pages }}
|
||||
|
8
layouts/partials/css-global.html
Normal file
8
layouts/partials/css-global.html
Normal 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 }}">
|
@ -1,6 +1,4 @@
|
||||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
|
||||
<div class="container">
|
||||
<div class="row text-center">
|
||||
<div class="col xs-12">
|
||||
|
@ -1,6 +1,4 @@
|
||||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
|
||||
<div class="container">
|
||||
<div class="row text-center">
|
||||
<div class="col xs-12">
|
||||
|
Reference in New Issue
Block a user