Allow single pages (#35)

* Let users create single sites

* Create shortcodes for bulma (sub)titles

* Support sidebar in singlepages only

* Fix shortcodes according to the bulma doc

* Use h5 tag for is-5 class
This commit is contained in:
Stefan M
2018-12-16 00:10:47 +01:00
committed by Luc Perkins
parent 54cbf5a40c
commit 8d7df18bf0
18 changed files with 82 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
{{ partial "meta.html" . }}
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
{{ partial "css.html" . }}
</head>
<body>
<!-- Preloader -->
<div id="preloader">
<div id="status"></div>
</div>
{{ block "main" . }}
{{ partial "single/single.html" . }}
<!-- Back To Top Button -->
<div id="backtotop"><a href="#"></a></div>
{{ if .Params.sidebar }}
{{ partial "single/sidebar.html" . }}
{{ end }}
{{ end }}
{{ partial "javascript.html" . }}
</body>
</html>