update main block, option to change ascii art
This commit is contained in:
parent
7a7fac3cd6
commit
d1f5684800
4 changed files with 61 additions and 53 deletions
|
@ -7,10 +7,7 @@
|
|||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body>
|
||||
{
|
||||
<main>{{ block "main" . }}{{ end }}</main>
|
||||
<footer>{{ partial "footer.html" . }}</footer>
|
||||
}
|
||||
{{ partial "ascii.html"}}
|
||||
{{ block "main" . }}{{ end }}
|
||||
{{ partial "ascii.html" . }}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
{{ define "main" }}
|
||||
<div class="one">
|
||||
<p>{</p>
|
||||
<main>
|
||||
<div class="one">
|
||||
<div class="flex-row">
|
||||
<span>title:</span>
|
||||
<span class="highlight">'{{ .Site.Params.title }}'</span>
|
||||
|
@ -35,5 +37,23 @@
|
|||
</div>
|
||||
},
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer class="one">
|
||||
<span>
|
||||
license:
|
||||
<a class="highlight" href="https://creativecommons.org/licenses/by-sa/4.0"
|
||||
>'CC BY-SA 4.0'</a
|
||||
>,
|
||||
</span>
|
||||
<span>
|
||||
"source code": '<a
|
||||
class="highlight"
|
||||
href="https://git.myco.systems/mycosystems/hugo-maintenance"
|
||||
>'https://git.myco.systems/mycosystems/hugo-maintenance'</a
|
||||
>
|
||||
</span>
|
||||
</footer>
|
||||
<p>}</p>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{ if eq .Site.Params.asciiArt 1 }}
|
||||
<pre>
|
||||
__..--''``---....___ _..._ __
|
||||
/// //_.-' .-/"; ` ``<._ ``.''_ `. / // /
|
||||
|
@ -6,7 +7,8 @@
|
|||
/ // // // `-._,_)' // / ``--...____..-' /// / //
|
||||
Ascii Art by: Felix Lee
|
||||
</pre>
|
||||
|
||||
{{ end }}
|
||||
{{ if eq .Site.Params.asciiArt 2 }}
|
||||
<pre>
|
||||
|\ _,,,---,,_
|
||||
ZZZzz /,`.-'`' -. ;-;;,_
|
||||
|
@ -14,3 +16,4 @@
|
|||
'---''(_/--' `-'\_)
|
||||
Ascii Art by: Felix Lee
|
||||
</pre>
|
||||
{{ end }}
|
|
@ -1,12 +0,0 @@
|
|||
<div class="one">
|
||||
<span>
|
||||
license: <a class="highlight" href="https://creativecommons.org/licenses/by-sa/4.0"
|
||||
>'CC BY-SA 4.0'</a
|
||||
>,
|
||||
</span>
|
||||
<span>
|
||||
"source code": '<a class="highlight" href="https://git.myco.systems/mycosystems/hugo-maintenance"
|
||||
>'https://git.myco.systems/mycosystems/hugo-maintenance'</a
|
||||
>
|
||||
</span>
|
||||
</div>
|
Loading…
Add table
Reference in a new issue