Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/2-REC/hugo-myportfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/sections/home.html')
-rw-r--r--layouts/partials/sections/home.html11
1 files changed, 7 insertions, 4 deletions
diff --git a/layouts/partials/sections/home.html b/layouts/partials/sections/home.html
index c4a7035..4157a81 100644
--- a/layouts/partials/sections/home.html
+++ b/layouts/partials/sections/home.html
@@ -1,14 +1,17 @@
-{{ "<!-- HOME -->" | safeHTML }}
{{ with .Site.Data.home }}
<section id="home"
- {{ with .background }}
- style="background-image: url('{{ (printf "images/%s" .) | absURL }}');"
- {{ end }}
+ {{ with .background }}
+ style="background-image: url('{{ (printf "images/%s" .) | absURL }}');"
+ {{ end }}
>
<div class="header-content">
<div class="header-content-inner">
{{ with .title }}
+{{/* HOME_LAYOUT
<h1 class="wow bounceIn">{{ . | markdownify }}</h1>
+*/}}
+{{/* TODO: use specific class for title? */}}
+ <h1>{{ . | markdownify }}</h1>
{{ end }}
{{ with .subtitle }}
<h2>{{ . | markdownify }}</h2>