Compare commits
2 commits
3ff9e759ba
...
d1f5684800
Author | SHA1 | Date | |
---|---|---|---|
d1f5684800 | |||
7a7fac3cd6 |
5 changed files with 74 additions and 54 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,39 +1,59 @@
|
|||
{{ define "main" }}
|
||||
<div class="one">
|
||||
<p>{</p>
|
||||
<main>
|
||||
<div class="one">
|
||||
<div class="flex-row">
|
||||
<span>title:</span>
|
||||
<span class="highlight">'{{ .Params.title }}'</span>
|
||||
<span class="highlight">'{{ .Site.Params.title }}'</span>
|
||||
,
|
||||
</div>
|
||||
<div class="flex-row">
|
||||
<span>body:</span>
|
||||
<span> <span class="highlight">'{{ .Params.body }}'</span>, </span>
|
||||
<span> <span class="highlight">'{{ .Site.Params.body }}'</span>, </span>
|
||||
</div>
|
||||
<span class="flex-col"
|
||||
>"Q & A": [ {{ range .Params.faq }}
|
||||
>"Q & A": [ {{ range .Site.Params.faq }}
|
||||
<div class="two">
|
||||
{<br />
|
||||
<div class="three">
|
||||
<span>question:</span>
|
||||
<span>Q:</span>
|
||||
<span class="highlight">'{{ .question }}'</span>,<br />
|
||||
<span>answer:</span>
|
||||
<span>A:</span>
|
||||
<span class="highlight">'{{ .answer }}'</span>
|
||||
</div>
|
||||
<br />},
|
||||
<br />}
|
||||
</div>
|
||||
{{ end }} ],</span
|
||||
>
|
||||
<span class="flex-col"
|
||||
>contact: {
|
||||
<div class="two">
|
||||
{{ range .Params.contact }}
|
||||
{{ range .Site.Params.contact }}
|
||||
<div class="three">
|
||||
<span>"{{ .service }}":</span>
|
||||
<span class="highlight">'{{ .input }}'</span>,<br />
|
||||
<span class="highlight">'{{ .input }}'</span><br />
|
||||
</div>
|
||||
{{ end }}
|
||||
</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,3 +7,13 @@
|
|||
/ // // // `-._,_)' // / ``--...____..-' /// / //
|
||||
Ascii Art by: Felix Lee
|
||||
</pre>
|
||||
{{ end }}
|
||||
{{ if eq .Site.Params.asciiArt 2 }}
|
||||
<pre>
|
||||
|\ _,,,---,,_
|
||||
ZZZzz /,`.-'`' -. ;-;;,_
|
||||
|,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>
|
|
@ -1,4 +1,8 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta property="og:title" content="{{ .Site.Params.opengraph.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" . }}
|
||||
|
|
Loading…
Add table
Reference in a new issue