mirror of
https://github.com/TeamPiped/hugo-whisper-theme.git
synced 2024-08-14 23:57:00 +00:00
40 lines
1.6 KiB
HTML
40 lines
1.6 KiB
HTML
|
{{ define "title" }}Hugo Hero Theme Demo{{ end}}
|
||
|
{{ define "header_css" }}{{ end }}
|
||
|
{{ define "body_classes" }}page-home{{ end }}
|
||
|
{{ define "header_classes" }}header-transparent{{ end }}
|
||
|
|
||
|
{{ define "meta_tags" }}
|
||
|
<meta name="description" content="{{ .Site.Params.homepage_meta_tags.meta_description }}" />
|
||
|
<meta property="og:title" content="{{ .Site.Params.homepage_meta_tags.meta_og_title }}" />
|
||
|
<meta property="og:type" content="{{ .Site.Params.homepage_meta_tags.meta_og_type }}" />
|
||
|
<meta property="og:url" content="{{ .Site.Params.homepage_meta_tags.meta_og_url }}" />
|
||
|
<meta property="og:image" content="{{ .Site.Params.homepage_meta_tags.meta_og_image }}" />
|
||
|
<meta property="og:description" content="{{ .Site.Params.homepage_meta_tags.meta_og_description }}" />
|
||
|
<meta name="twitter:card" content="{{ .Site.Params.homepage_meta_tags.meta_twitter_card }}" />
|
||
|
<meta name="twitter:site" content="{{ .Site.Params.homepage_meta_tags.meta_twitter_site }}" />
|
||
|
<meta name="twitter:creator" content="{{ .Site.Params.homepage_meta_tags.meta_twitter_creator }}" />
|
||
|
{{ end }}
|
||
|
|
||
|
{{ define "main" }}
|
||
|
<div class="strip">
|
||
|
<div class="container pt-6 pb-16">
|
||
|
<div class="row">
|
||
|
<div class="col-12">
|
||
|
<h1 class="title">{{.Title}}</h1>
|
||
|
<div class="content">
|
||
|
{{.Content}}
|
||
|
</div>
|
||
|
<a class="button button-primary mb-2" href="{{ .Site.BaseURL }}docs">Read The Docs</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="strip strip-grey pt-4 pb-4">
|
||
|
<div class="terminal">
|
||
|
<img src="{{ .Site.BaseURL }}images/terminal-white.gif" />
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
{{ end }}
|
||
|
|
||
|
{{ define "footer_js" }}
|
||
|
{{ end }}
|