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" . }}
|
{{ partial "head.html" . }}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{
|
{{ block "main" . }}{{ end }}
|
||||||
<main>{{ block "main" . }}{{ end }}</main>
|
{{ partial "ascii.html" . }}
|
||||||
<footer>{{ partial "footer.html" . }}</footer>
|
|
||||||
}
|
|
||||||
{{ partial "ascii.html"}}
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
<p>{</p>
|
||||||
|
<main>
|
||||||
<div class="one">
|
<div class="one">
|
||||||
<div class="flex-row">
|
<div class="flex-row">
|
||||||
<span>title:</span>
|
<span>title:</span>
|
||||||
|
@ -36,4 +38,22 @@
|
||||||
},
|
},
|
||||||
</span>
|
</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 }}
|
{{ end }}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
{{ if eq .Site.Params.asciiArt 1 }}
|
||||||
<pre>
|
<pre>
|
||||||
__..--''``---....___ _..._ __
|
__..--''``---....___ _..._ __
|
||||||
/// //_.-' .-/"; ` ``<._ ``.''_ `. / // /
|
/// //_.-' .-/"; ` ``<._ ``.''_ `. / // /
|
||||||
|
@ -6,7 +7,8 @@
|
||||||
/ // // // `-._,_)' // / ``--...____..-' /// / //
|
/ // // // `-._,_)' // / ``--...____..-' /// / //
|
||||||
Ascii Art by: Felix Lee
|
Ascii Art by: Felix Lee
|
||||||
</pre>
|
</pre>
|
||||||
|
{{ end }}
|
||||||
|
{{ if eq .Site.Params.asciiArt 2 }}
|
||||||
<pre>
|
<pre>
|
||||||
|\ _,,,---,,_
|
|\ _,,,---,,_
|
||||||
ZZZzz /,`.-'`' -. ;-;;,_
|
ZZZzz /,`.-'`' -. ;-;;,_
|
||||||
|
@ -14,3 +16,4 @@
|
||||||
'---''(_/--' `-'\_)
|
'---''(_/--' `-'\_)
|
||||||
Ascii Art by: Felix Lee
|
Ascii Art by: Felix Lee
|
||||||
</pre>
|
</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