refactor(pages): use html instead of json to render custom pages
This commit is contained in:
parent
2d74d8afc3
commit
42a96cbb6e
4 changed files with 60 additions and 102 deletions
|
@ -8,6 +8,11 @@
|
|||
<title>{{ .Title }}</title>
|
||||
<link rel="stylesheet" href="{{getAssetPath "styles.css"}}" />
|
||||
{{template "opengraph-base" .SEO}}
|
||||
{{ if .Data.IsCustomPage }}
|
||||
<style>
|
||||
.links { {{ .Data.Color.Button.GetBackground }}{{ .Data.Color.Button.GetTextColor }} }
|
||||
</style>
|
||||
{{ end }}
|
||||
</head>
|
||||
<body style="{{ .Data.GetBackgroundImage }}{{ .Data.GetTextColor }}">
|
||||
<div class="center">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue