Add a static file
File in /content/example/<page>.md
---
title: 'Test 1'
summary: 'Red One'
layout: <layout>
---
File in /layouts/_default/<layout>.html
:
{{- define "main" }}
<div class="not-found" style="color:red">One</div>
{{- end }}{{/* end main */ -}}
</html>
Don’t forget to list it in the configuration:
[[menu.main]]
name = "Example"
url = "exaample/"
Add raw HTML
{ { < rawhtml > } }This is raw HTML
{ { < /rawhtml > } }Center the frontface:
Add a CSS file to /assets/css/extended/<anything>.css
with:
.first-entry {
text-align: center;
min-height:3em;
}
Favicon
I just went with the default where you add a static/favicon-16x16.png
, static/favicon-32x32.png
and static/apple-touch-icon.png
.