Fix layout classes on articles and main page
This commit is contained in:
parent
9894472e42
commit
854327d111
@ -5,10 +5,11 @@
|
|||||||
|
|
||||||
<body class="single-body">
|
<body class="single-body">
|
||||||
|
|
||||||
|
<main class="">
|
||||||
|
<!-- -->
|
||||||
{{ partial "nav-bar.html" . }}
|
{{ partial "nav-bar.html" . }}
|
||||||
|
|
||||||
<main class="content side-text-padding">
|
<article class="content side-text-padding {{ if ne .Params.dropcap false }}dropcase{{ end }}">
|
||||||
<article class="post {{ if ne .Params.dropcap false }}dropcase{{ end }}">
|
|
||||||
<header class="post-header">
|
<header class="post-header">
|
||||||
<h1 class="post-title">{{ .Title }}</h1>
|
<h1 class="post-title">{{ .Title }}</h1>
|
||||||
{{ if isset .Params "date" }}<p class="post-date">Posted <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time></p>{{ end }}
|
{{ if isset .Params "date" }}<p class="post-date">Posted <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time></p>{{ end }}
|
||||||
@ -30,7 +31,7 @@
|
|||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
<nav class="end-nav side-padding card-container card content">
|
<nav class="end-nav card">
|
||||||
{{ with .PrevInSection }}
|
{{ with .PrevInSection }}
|
||||||
{{ .Render "li-next" }}
|
{{ .Render "li-next" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
<nav class="end-nav side-padding card-container card content">
|
<nav class="content card card-container side-padding">
|
||||||
{{ partial "openring-out.html" . }}
|
{{ partial "openring-out.html" . }}
|
||||||
|
|
||||||
</nav>
|
</nav>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<nav class="nav-bar card-container">
|
<nav class="content card card-container side-padding">
|
||||||
|
|
||||||
<div class="card blog-card menu-container">
|
<div>
|
||||||
<h1 class="nav-header">
|
<h1 class="nav-header">
|
||||||
<a href="{{ .Site.BaseURL }}" class="nav-text">
|
<a href="{{ .Site.BaseURL }}" class="nav-text">
|
||||||
{{- if isset $.Site.Params "brand"}}
|
{{- if isset $.Site.Params "brand"}}
|
||||||
|
Loading…
Reference in New Issue
Block a user