1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 14:16:20 -04:00

pipe titles through markdownify for fancy quotes

This commit is contained in:
Jake Jarvis 2020-03-23 10:32:23 -04:00
parent 12bce797d6
commit 51bcf35026
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
6 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
---
title: "Jake Jarvis Front-End Web Developer in Boston, MA"
date: 2020-03-17 23:13:17-0400
date: 2020-03-23 10:28:07-0400
type: home
---

View File

@ -1,6 +1,6 @@
{{ define "main" }}
<main id="etc">
<h1><a class="no-underline" href="{{ .Permalink }}">{{ .Title }}</a></h1>
<h1><a class="no-underline" href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
<div id="content">
{{ .Content }}

View File

@ -9,7 +9,7 @@
{{- range . }}
<li>
<div class="date">{{ .Date.Format "Jan 2" }}</div>
<div class="title"><a href="{{ .Permalink }}">{{ .Title }}</a></div>
<div class="title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></div>
</li>
{{- end }}
{{- end }}

View File

@ -243,7 +243,7 @@
</header>
<article>
<h1 class="title">{{ .Title }}</h1>
<h1 class="title">{{ .Title | markdownify }}</h1>
<p class="meta">
by <a class="author" href="{{ .Site.BaseURL }}" rel="me author">{{ .Site.Author.name }}</a>
on <a class="date" href="{{ (.OutputFormats.Get "html").Permalink }}">{{ .Date.Format "January 2, 2006" }}</a>

View File

@ -5,7 +5,7 @@
<a class="no-underline" id="date" href="{{ .Permalink }}" title="{{ .Date.Format "Mon, Jan 2 2006 3:04:05 PM MST" }}">{{ .Date.Format "January 2, 2006" }}</a>{{ with .Site.Params.gitRepo }}<span id="edit"><span class="dash"></span><a class="no-underline" href="{{ . }}/edit/master/content/{{ $.File.Path }}" title="Edit this post on GitHub" target="_blank" rel="noopener">Improve This Post</a></span>{{ end }}
</div>
<h1 id="title"><a class="no-underline" href="{{ .Permalink }}">{{ .Title }}</a></h1>
<h1 id="title"><a class="no-underline" href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
<div id="content">
{{ .Content }}

View File

@ -1,6 +1,6 @@
{{ define "main" }}
<main id="video">
<h1><a class="no-underline" href="{{ .Permalink }}">{{ .Title }}</a></h1>
<h1><a class="no-underline" href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
<video
{{ with .Resources.GetMatch "images/*.png" }}poster="{{ .Permalink }}"{{ end }}