Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
The64thGamer committed Sep 11, 2024
1 parent 4bbd5ab commit df8a64c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
6 changes: 2 additions & 4 deletions themes/sixtyth-fortran/layouts/partials/baseArticle.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<h1>{{ partialCached "markdownify" .Title }}</h1>
<hr>
<h1>{{ .Title | markdownify | safeHTML }}</h1><hr>

{{ $dateMachine := partialCached "formatDate" (dict "Date" .Date "Format" "2006-01-02T15:04:05-07:00") }}
{{ $dateHuman := partialCached "formatDate" (dict "Date" .Date "Format" ":date_long") }}


{{ partialCached "markdownify" .Content }}
{{ .Content | markdownify | safeHTML }}

<hr>
<div class="contributors"><strong>Article Contributed By:</strong>
Expand Down
1 change: 0 additions & 1 deletion themes/sixtyth-fortran/layouts/partials/markdownify.html

This file was deleted.

7 changes: 3 additions & 4 deletions themes/sixtyth-fortran/layouts/partials/user.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<h1>{{ partialCached "markdownify" .Title }}</h1>
<hr>
<h1>{{ .Title | markdownify | safeHTML }}</h1><hr>

{{ $dateMachine := partialCached "formatDate" (dict "Date" .Date "Format" "2006-01-02T15:04:05-07:00") }}
{{ $dateHuman := partialCached "formatDate" (dict "Date" .Date "Format" ":date_long") }}

{{ partialCached "markdownify" .Content }}
{{ .Content | markdownify | safeHTML }}

<hr>
<h2>{{ partialCached "markdownify" .Title }} contributed to these pages!</h2>
<h2>I contributed to these pages!</h2>

{{ $currentTitle := .Title }}
{{ $pages := where .Site.Pages "Section" "wiki" }}
Expand Down

0 comments on commit df8a64c

Please sign in to comment.