mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-14 16:12:16 +00:00
Blog section
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<div class="container">
|
||||
{{ block "hero-content" . }}
|
||||
<div class="columns _is-centered is-vcentered has-text-white has-text-centered-mobile">
|
||||
<div class="column is-full-tablet _is-offset-one-quarter-tablet is-half-desktop">
|
||||
<div class="column is-full-tablet _is-offset-one-quarter-tablet">
|
||||
<h1 class="title is-1 has-text-white">{{ block "title" . }}{{ end }}</h1>
|
||||
<p class="subtitle has-text-white">{{ block "subtitle" . }}{{ end }}</p>
|
||||
<p></p>
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
<section class="section">
|
||||
<div class="container content">
|
||||
{{ block "content" .}}
|
||||
{{ block "content" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{{ define "title" }}
|
||||
{{ .Title }}
|
||||
{{ .Title }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "subtitle" }}
|
||||
{{ .Params.subtitle }}
|
||||
{{ .Params.subtitle }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
{{ .Content }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user