Lots of responsive fixes
This commit is contained in:
parent
5c65dade97
commit
257dbb9bd2
4 changed files with 94 additions and 24 deletions
|
@ -2,7 +2,7 @@
|
|||
{{ define "main" }}
|
||||
{{ if .Title }}
|
||||
<header>
|
||||
<h2 class="main-title">{{ .Title }}</h2>
|
||||
<h1 class="main-title">{{ .Title }}</h1>
|
||||
</header>
|
||||
{{ end }}
|
||||
|
||||
|
@ -18,8 +18,7 @@
|
|||
{{ range $index, $page := $paginator.Pages }}
|
||||
<li class="post-entry">
|
||||
<header>
|
||||
<h2>
|
||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
<h2><a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
</h2>
|
||||
<time datetime="{{ .Date | time.Format " 2006-01-02" }}">{{ .Date | time.Format "Jan 2, 2006" }}</time>
|
||||
{{ partial "development/draft_tag.html" . }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<footer class="footer">
|
||||
<p>Trans rights are human rights. Black lives matter. Get vaccinated.</p>
|
||||
<p class="slogans"><span>Trans rights are human rights.</span> <span>Black lives matter.</span> <span>Get vaccinated.</span></p>
|
||||
<p>Copyright © <time datetime="{{ now.Year }}">{{ now.Year }}</time> <a href="{{ `` | absURL }}">Eryn Wells</a></p>
|
||||
</footer>
|
||||
|
|
|
@ -1,16 +1,18 @@
|
|||
<header class="header">
|
||||
<h1><a class="site-name" href="{{ `` | absURL }}">Eryn Wells</a></h1>
|
||||
<div class="title-and-menu">
|
||||
<h1><a class="site-name" href="{{ `` | absURL }}">Eryn Wells</a></h1>
|
||||
|
||||
{{ $url := .RelPermalink }}
|
||||
{{ with site.Menus.main }}
|
||||
<nav class="menu">
|
||||
<menu>
|
||||
{{ range . }}
|
||||
<li><a class="{{ if eq .URL $url }}active{{ end }}" href="{{ .URL }}"><span>{{ .Name }}</span></a></li>
|
||||
{{ $url := .RelPermalink }}
|
||||
{{ with site.Menus.main }}
|
||||
<nav class="menu">
|
||||
<menu>
|
||||
{{ range . }}
|
||||
<li><a class="{{ if eq .URL $url }}active{{ end }}" href="{{ .URL }}"><span>{{ .Name }}</span></a></li>
|
||||
{{ end }}
|
||||
</menu>
|
||||
</nav>
|
||||
{{ end }}
|
||||
</menu>
|
||||
</nav>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
<nav class="social">
|
||||
<menu>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue