Compare commits
No commits in common. "d1f5684800527cd4c55849807e0122cac0e3159d" and "3ff9e759ba11d49eb0cd7022f0e0d9137a0d98a3" have entirely different histories.
d1f5684800
...
3ff9e759ba
5 changed files with 55 additions and 75 deletions
|
@ -7,7 +7,10 @@
|
||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{{ block "main" . }}{{ end }}
|
{
|
||||||
{{ partial "ascii.html" . }}
|
<main>{{ block "main" . }}{{ end }}</main>
|
||||||
|
<footer>{{ partial "footer.html" . }}</footer>
|
||||||
|
}
|
||||||
|
{{ partial "ascii.html"}}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,59 +1,39 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<p>{</p>
|
<div class="one">
|
||||||
<main>
|
<div class="flex-row">
|
||||||
<div class="one">
|
<span>title:</span>
|
||||||
<div class="flex-row">
|
<span class="highlight">'{{ .Params.title }}'</span>
|
||||||
<span>title:</span>
|
,
|
||||||
<span class="highlight">'{{ .Site.Params.title }}'</span>
|
|
||||||
,
|
|
||||||
</div>
|
|
||||||
<div class="flex-row">
|
|
||||||
<span>body:</span>
|
|
||||||
<span> <span class="highlight">'{{ .Site.Params.body }}'</span>, </span>
|
|
||||||
</div>
|
|
||||||
<span class="flex-col"
|
|
||||||
>"Q & A": [ {{ range .Site.Params.faq }}
|
|
||||||
<div class="two">
|
|
||||||
{<br />
|
|
||||||
<div class="three">
|
|
||||||
<span>Q:</span>
|
|
||||||
<span class="highlight">'{{ .question }}'</span>,<br />
|
|
||||||
<span>A:</span>
|
|
||||||
<span class="highlight">'{{ .answer }}'</span>
|
|
||||||
</div>
|
|
||||||
<br />}
|
|
||||||
</div>
|
|
||||||
{{ end }} ],</span
|
|
||||||
>
|
|
||||||
<span class="flex-col"
|
|
||||||
>contact: {
|
|
||||||
<div class="two">
|
|
||||||
{{ range .Site.Params.contact }}
|
|
||||||
<div class="three">
|
|
||||||
<span>"{{ .service }}":</span>
|
|
||||||
<span class="highlight">'{{ .input }}'</span><br />
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
},
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
<div class="flex-row">
|
||||||
|
<span>body:</span>
|
||||||
<footer class="one">
|
<span> <span class="highlight">'{{ .Params.body }}'</span>, </span>
|
||||||
<span>
|
</div>
|
||||||
license:
|
<span class="flex-col"
|
||||||
<a class="highlight" href="https://creativecommons.org/licenses/by-sa/4.0"
|
>"Q & A": [ {{ range .Params.faq }}
|
||||||
>'CC BY-SA 4.0'</a
|
<div class="two">
|
||||||
>,
|
{<br />
|
||||||
|
<div class="three">
|
||||||
|
<span>question:</span>
|
||||||
|
<span class="highlight">'{{ .question }}'</span>,<br />
|
||||||
|
<span>answer:</span>
|
||||||
|
<span class="highlight">'{{ .answer }}'</span>
|
||||||
|
</div>
|
||||||
|
<br />},
|
||||||
|
</div>
|
||||||
|
{{ end }} ],</span
|
||||||
|
>
|
||||||
|
<span class="flex-col"
|
||||||
|
>contact: {
|
||||||
|
<div class="two">
|
||||||
|
{{ range .Params.contact }}
|
||||||
|
<div class="three">
|
||||||
|
<span>"{{ .service }}":</span>
|
||||||
|
<span class="highlight">'{{ .input }}'</span>,<br />
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
},
|
||||||
</span>
|
</span>
|
||||||
<span>
|
</div>
|
||||||
"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,4 +1,3 @@
|
||||||
{{ if eq .Site.Params.asciiArt 1 }}
|
|
||||||
<pre>
|
<pre>
|
||||||
__..--''``---....___ _..._ __
|
__..--''``---....___ _..._ __
|
||||||
/// //_.-' .-/"; ` ``<._ ``.''_ `. / // /
|
/// //_.-' .-/"; ` ``<._ ``.''_ `. / // /
|
||||||
|
@ -7,13 +6,3 @@
|
||||||
/ // // // `-._,_)' // / ``--...____..-' /// / //
|
/ // // // `-._,_)' // / ``--...____..-' /// / //
|
||||||
Ascii Art by: Felix Lee
|
Ascii Art by: Felix Lee
|
||||||
</pre>
|
</pre>
|
||||||
{{ end }}
|
|
||||||
{{ if eq .Site.Params.asciiArt 2 }}
|
|
||||||
<pre>
|
|
||||||
|\ _,,,---,,_
|
|
||||||
ZZZzz /,`.-'`' -. ;-;;,_
|
|
||||||
|,4- ) )-,_. ,\ ( `'-'
|
|
||||||
'---''(_/--' `-'\_)
|
|
||||||
Ascii Art by: Felix Lee
|
|
||||||
</pre>
|
|
||||||
{{ end }}
|
|
12
layouts/partials/footer.html
Normal file
12
layouts/partials/footer.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<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>
|
|
@ -1,8 +1,4 @@
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width">
|
||||||
<meta property="og:title" content="{{ .Site.Params.opengraph.title }}">
|
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
|
||||||
<meta property="og:image" content="{{ .Site.Params.opengraph.image }}">
|
|
||||||
<meta property="og:description" content="{{ .Site.Params.opengraph.description | html }}">
|
|
||||||
<meta property="og:url" content="{{ .Permalink }}">
|
|
||||||
<link rel="canonical" href="{{ .Permalink }}" itemprop="url" />
|
|
||||||
{{ partialCached "head/css.html" . }}
|
{{ partialCached "head/css.html" . }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue