Compare commits

..

No commits in common. "dc79e640fecf4a98e79db017933ce4b0b27523c3" and "c5aefd9d0ba7b0c824f26873f3852a11fc6adaa1" have entirely different histories.

6 changed files with 12 additions and 12 deletions

View File

@ -1,11 +1,11 @@
{{ define "main" }} {{ define "main" }}
<div class="row"> <div class="row">
{{ range .Params.categories }} {{ range .Params.categories }}
<a href="/categories/{{ . | urlize }}/">{{ . }}</a> <a href="{{ $.Site.BaseURL }}categories/{{ . | urlize }}/">{{ . }}</a>
{{ end }} {{ end }}
</div> </div>
<article class="row content" style="margin-top: 2em"> <article class="row content" style="margin-top: 20%">
{{ .Content }} {{ .Content }}
</article> </article>
@ -14,7 +14,7 @@
<p> <p>
<span>Tagged: </span> <span>Tagged: </span>
{{ range .Params.tags }} {{ range .Params.tags }}
<a href="/tags/{{ . | urlize }}/" class="tag">#{{ . }}</a> <a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}/" class="tag">#{{ . }}</a>
{{ end }} {{ end }}
</p> </p>
</div> </div>

View File

@ -7,14 +7,14 @@
{{ range $paginator.Pages }} {{ range $paginator.Pages }}
<div class="five columns"> <div class="five columns">
{{ range .Params.categories }} {{ range .Params.categories }}
<a href="/categories/{{ . | urlize }}/">{{ . }}</a> <a href="{{ $.Site.BaseURL }}categories/{{ . | urlize }}/">{{ . }}</a>
{{ end }} {{ end }}
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2> <h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<p class="date">{{.Date.Format "January 2, 2006"}}</p> <p class="date">{{.Date.Format "January 2, 2006"}}</p>
<p class="summary">{{ .Summary | plainify | htmlUnescape }}</p> <p class="summary">{{ .Summary | plainify | htmlUnescape }}</p>
<p> <p>
{{ range .Params.tags }} {{ range .Params.tags }}
<a href="/tags/{{ . | urlize }}/">#{{ . }}</a> <a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}/">#{{ . }}</a>
{{ end }} {{ end }}
</p> </p>
</div> </div>

View File

@ -7,13 +7,13 @@
{{ range $paginator.Pages }} {{ range $paginator.Pages }}
<div class="five columns"> <div class="five columns">
{{ range .Params.categories }} {{ range .Params.categories }}
<a href="/categories/{{ . | urlize }}/">{{ . }}</a> <a href="{{ $.Site.BaseURL }}categories/{{ . | urlize }}/">{{ . }}</a>
{{ end }} {{ end }}
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2> <h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<p class="summary">{{ .Summary | plainify | htmlUnescape }}</p> <p class="summary">{{ .Summary | plainify | htmlUnescape }}</p>
<p> <p>
{{ range .Params.tags }} {{ range .Params.tags }}
<a href="/tags/{{ . | urlize }}/">#{{ . }}</a> <a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}/">#{{ . }}</a>
{{ end }} {{ end }}
</p> </p>
</div> </div>

View File

@ -1,7 +1,7 @@
<hr/> <hr/>
<div class="row"> <div class="row">
<ul class="nav"> <ul class="nav">
<li class="mb-1"><a href="/" class="text-secondary">home</a></li> <li class="mb-1"><a href="{{ .Site.BaseURL }}" class="text-secondary">home</a></li>
{{ range .Site.Menus.main }} {{ range .Site.Menus.main }}
<li class="mb-1"><a href="{{ .URL }}" class="text-secondary">{{ .Name }}</a></li> <li class="mb-1"><a href="{{ .URL }}" class="text-secondary">{{ .Name }}</a></li>
{{ end }} {{ end }}

View File

@ -10,9 +10,9 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;600&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/css/normalize.css"> <link rel="stylesheet" href="{{ $.Site.BaseURL }}css/normalize.css">
<link rel="stylesheet" href="/css/skeleton.css"> <link rel="stylesheet" href="{{ $.Site.BaseURL }}css/skeleton.css">
<link rel="icon" type="image/png" href="/images/favicon.png"> <link rel="icon" type="image/png" href="{{ $.Site.BaseURL }}images/favicon.png">
</head> </head>

View File

@ -9,7 +9,7 @@
{{ end }} {{ end }}
- -
{{ end }} {{ end }}
<a href="/" style="text-decoration: none;">{{ .Site.Title }}</a> {{ .Site.Title }}
</h1> </h1>
{{ if .IsHome }}<p>{{ .Site.Params.Description }}</p>{{ end }} {{ if .IsHome }}<p>{{ .Site.Params.Description }}</p>{{ end }}
</div> </div>