1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 02:38:27 -04:00

layout fixes

This commit is contained in:
Jake Jarvis 2019-04-02 11:10:50 -04:00
parent 70762aa471
commit a3f17b1517
8 changed files with 36 additions and 30 deletions

View File

@ -4,6 +4,7 @@ title = "Jake Jarvis"
canonifyURLs = true
disableFastRender = true
disableHugoGeneratorInject = true # don't worry, inserted manually :)
disableKinds = ["taxonomy", "taxonomyTerm"]

View File

@ -1 +0,0 @@
{{ partial "header.html" . }}{{ block "main" . }}{{ end }}{{ partial "footer.html" . }}

View File

@ -0,0 +1,21 @@
{{ partial "header.html" . }}
{{ partial "blog-header.html" . }}
<div id="archive">
{{ range .Data.Pages.GroupByDate "2006" }}
<div class="year">
<h2>{{ .Key }}</h2>
<ul>
{{ range .Pages }}
<li class="item">
<div class="date">{{ .Date.Format "Jan 2" }}</div>
<div class="title"><a href="{{ .Permalink }}">{{ .Title }}</a></div>
</li>
{{ end }}
</ul>
</div>
{{ end }}
</div>
{{ partial "blog-footer.html" . }}
{{ partial "footer.html" . }}

View File

@ -1,4 +1,6 @@
{{ define "main" }}
{{ partial "header.html" . }}
{{ partial "blog-header.html" . }}
<div id="single">
<div id="info">
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
@ -24,4 +26,6 @@
{{ .Content }}
</div>
</div>
{{ end }}
{{ partial "blog-footer.html" . }}
{{ partial "footer.html" . }}

View File

@ -1,4 +1,4 @@
{{ define "main" }}
{{ partial "header.html" . }}
<div itemscope itemtype="http://schema.org/Person">
<img itemprop="image" id="me" src="{{ "me.jpg" | absURL }}" alt="Photo of Jake Jarvis" title="Photo of Jake Jarvis">
<h1>Hi! I'm <span itemprop="name">Jake Jarvis</span>. <span id="wave">&#x1F44B;<!--&#x1F3FB;--></span></h1>
@ -24,4 +24,4 @@
<div id="info"><span id="copyright"><a href="https://web.archive.org/web/20010501000000*/jakejarvis.com" title="View Old Versions on Wayback Machine" id="wayback" target="_blank" rel="noopener noreferrer nofollow">&copy; 2001 &ndash;</a> {{ now.Format "2006" }} <a itemprop="url" rel="me author" href="{{ .Site.BaseURL }}" title="Jake Jarvis">Jake Jarvis</a>.</span> <a href="https://git.jarv.is/jake/jarv.is" title="View Source Code Repository" id="source" target="_blank" rel="noopener">View source.</a></div>
</div>
</div>
{{ end }}
{{ partial "footer.html" . }}

View File

@ -1,5 +0,0 @@
{{ partial "header.html" . }}
{{ partial "blog-header.html" . }}
{{ block "main" . }}{{ end }}
{{ partial "blog-footer.html" . }}
{{ partial "footer.html" . }}

View File

@ -1,19 +0,0 @@
{{ define "main" }}
<div id="archive">
{{ range .Data.Pages.GroupByDate "2006" }}
<div class="year">
<h2>{{ .Key }}</h2>
<ul>
{{ range .Pages }}
<li class="item">
<div class="date">{{ .Date.Format "Jan 2" }}</div>
<div class="title"><a href="{{ .Permalink }}">{{ .Title }}</a></div>
</li>
{{ end }}
</ul>
</div>
{{ end }}
</div>
{{ end }}

View File

@ -700,8 +700,13 @@ body#notes div#content blockquote {
body#notes div#content code {
font-family: monospace;
background: #f4f4f4;
padding: 0.2em;
border: 1px solid #cccccc;
font-size: 16px;
}
body#notes div#content pre code {
padding: 1em 1.5em;
font-size: 15px;
line-height: 1.6;
page-break-inside: avoid;
border: 1px solid #ddd;