Fix layout classes on articles and main page
This commit is contained in:
parent
9894472e42
commit
854327d111
@ -4,11 +4,12 @@
|
||||
{{ partial "head.html" . }}
|
||||
|
||||
<body class="single-body">
|
||||
|
||||
|
||||
<main class="">
|
||||
<!-- -->
|
||||
{{ partial "nav-bar.html" . }}
|
||||
|
||||
<main class="content side-text-padding">
|
||||
<article class="post {{ if ne .Params.dropcap false }}dropcase{{ end }}">
|
||||
<article class="content side-text-padding {{ if ne .Params.dropcap false }}dropcase{{ end }}">
|
||||
<header class="post-header">
|
||||
<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 }}
|
||||
@ -30,7 +31,7 @@
|
||||
{{ .Content }}
|
||||
</article>
|
||||
</main>
|
||||
<nav class="end-nav side-padding card-container card content">
|
||||
<nav class="end-nav card">
|
||||
{{ with .PrevInSection }}
|
||||
{{ .Render "li-next" }}
|
||||
{{ 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" . }}
|
||||
|
||||
</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">
|
||||
<a href="{{ .Site.BaseURL }}" class="nav-text">
|
||||
{{- if isset $.Site.Params "brand"}}
|
||||
|
Loading…
Reference in New Issue
Block a user