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:
29
layouts/_default/single.html
Normal file
29
layouts/_default/single.html
Normal 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>
|
||||
Reference in New Issue
Block a user