start v3
This commit is contained in:
@@ -1,27 +1,10 @@
|
||||
{{ define "head" }}
|
||||
|
||||
<style type="text/css">
|
||||
p {
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
img {
|
||||
max-width: 95%
|
||||
}
|
||||
</style>
|
||||
|
||||
{{ end }}
|
||||
{{ define "title" }}
|
||||
{{ .Title }} | {{ .Site.Title }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "main" }}
|
||||
<div class="container mt-4 post">
|
||||
<!-- <h1>{{ .Title }}</h1> -->
|
||||
{{ partial "post-meta" . }}
|
||||
|
||||
<div class="mt-4 mb-4 main-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
<article class="article">
|
||||
<header class="page-header">
|
||||
<p class="eyebrow">{{ .Section }}</p>
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Description }}<p class="lead">{{ . }}</p>{{ end }}
|
||||
</header>
|
||||
<div class="prose">{{ .Content }}</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user