Browse Source

Titles show showing correctly

image-sizing
Logan McGrath 1 year ago
parent
commit
aa383cb5cf
  1. 1
      site/404.md
  2. 2
      site/contact.md
  3. 2
      site/index.html
  4. 1
      site/resume.md
  5. 9
      src/Green/Template/Fields.hs

1
site/404.md

@ -2,5 +2,4 @@
title: 404 Not Found
layout: page
---
The field you were looking for has browned and vanished.

2
site/contact.md

@ -1,5 +1,5 @@
---
title: "Contact Me"
title: Contact Me
layout: page
---
I live in a tiramisù and have pudding in my ears. Please contact me via [{{authorEmail}}](mailto:{{authorEmail}}) and I shall free my eyes to read and reply heartily; my fingers typing though they have been soaking like biscuits in espresso and cream. I welcome conversations and questions about what I do and I might even ask a few questions of my own, but I do not know how I came to be floating in mascarpone.

2
site/index.html

@ -1,5 +1,5 @@
---
title: "Mowing My Technical Lawn"
title: Mowing My Technical Lawn
bodyClass: homepage
layout: page
---

1
site/resume.md

@ -2,5 +2,4 @@
title: My Resume
layout: page
---
Please see my [LinkedIn profile]({{linkedInProfile}}) for my employment history.

9
src/Green/Template/Fields.hs

@ -16,16 +16,17 @@ import System.FilePath
defaultFields :: Context String
defaultFields =
mconcat
[ routeField,
linkedTitleField,
bodyField "body",
[ bodyField "body",
urlField "url",
pathField "path",
routeField,
linkedTitleField,
ifField,
forField,
defaultField,
titleFromFileField "title",
withField,
metadataField,
titleFromFileField "title",
undefinedField
]

Loading…
Cancel
Save