Skip to content

Commit

Permalink
upgrade hugo
Browse files Browse the repository at this point in the history
  • Loading branch information
BenTheElder committed Apr 9, 2020
1 parent 1542ad3 commit c2d7baf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions config.toml
Expand Up @@ -24,3 +24,7 @@ disableKinds = ["taxonomy","taxonomyTerm"]

# build draft posts
buildDrafts = true

# allow inline html
[markup.goldmark.renderer]
unsafe= true
2 changes: 1 addition & 1 deletion layouts/index.html
Expand Up @@ -3,7 +3,7 @@
<div class="tile centered-text" style="">{{ partial "fancymarkdown.html" .Content }}
<p class="title centered centered-text" style="margin-top: -.5em">Posts</p>
<!--<hr class="full-bleed">-->
{{ range $i, $post := (where .Pages "Section" "posts").ByDate.Reverse }}
{{ range $i, $post := (where $.Site.Pages "Section" "posts").ByDate.Reverse }}
{{ if .Params.draft }}{{ else }}
<a href="{{.Permalink}}" class="left-text full-bleed list-item {{- if eq $i 0}} first {{- end}}">
<p class="title">{{if .Params.htmlTitle}}{{.Params.htmlTitle | safeHTML}}{{else}}{{.Title}}{{end}}{{if .Params.subtitle }}<span class="inline-block not-bold">:</span> <span class="inline not-bold"> {{.Params.subtitle}} </span>{{end}}</p>{{range .Params.Categories}}<span class="category">{{. | safeHTML}}</span>{{end}}
Expand Down

0 comments on commit c2d7baf

Please sign in to comment.