Merge branch 'thevoid'
This commit is contained in:
2
layouts/shortcodes/thevoid.html
Normal file
2
layouts/shortcodes/thevoid.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<span class="glitch" data-text="{{ .Get 0 }}"><span>{{ .Get 0 }}</span></span>
|
||||
{{- /* Remove trailing white space */ -}}
|
||||
20
layouts/thevoid/baseof.html
Normal file
20
layouts/thevoid/baseof.html
Normal file
@@ -0,0 +1,20 @@
|
||||
{{- /* Note: changing the baseof template because the title, tags, etc. of a regular post are still valid. */ -}}
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.Language.Lang }}">
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{ $voidcss := resources.Get "scss/thevoid.scss" | resources.ToCSS | resources.Minify }}
|
||||
<link rel="stylesheet" href="{{ $voidcss.Permalink }}">
|
||||
{{- partial "header.html" . -}}
|
||||
<div class="container"><hr class="header-divider"></div>
|
||||
<main class="container">
|
||||
|
||||
{{- if .Draft -}}
|
||||
{{- partial "warning.html" (i18n "postDraft") -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- block "main" . }}{{- end }}
|
||||
</main>
|
||||
{{- block "after" . }}{{- end }}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user