Skip to content

Instantly share code, notes, and snippets.

@andrewconnell
Last active April 25, 2020 09:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewconnell/2bc02da922139fe37a172bd0cd97e886 to your computer and use it in GitHub Desktop.
Save andrewconnell/2bc02da922139fe37a172bd0cd97e886 to your computer and use it in GitHub Desktop.
Error in user YAML: (<unknown>): did not find expected node content while parsing a block node at line 1 column 1
---
...
changelog:
  - timestamp: 2007-05-24T18:43:03-04:00
    description: 'This event has been cancelled because the speaker (me) is not available due to illness. We''ve rescheduled the session for our June meeting. See the [JOG website](http://www.jacksonvilleofficegeeks.net) for more information.'
---
{{ if .Params.changelog }}
<div class="alert alert-secondary" role="alert">
<h4 class="alert-heading">Page update history / changelog</h4>
This page has been updated since it was originally published. The following list details each change and when it occurred.
<hr />
<ul class="fa-ul">
{{ range sort .Params.changelog "timestamp" "desc" }}
<li style="margin-bottom: 10px;"><span class="fa-li"><i class="text-secondary fas fa-clock"></i></span><strong>{{ dateFormat "Monday, January 2, 2006 - 3:04 PM" .timestamp }}</strong><br />{{ .description | markdownify }}</li>
{{ end }}
</ul>
</div>
{{ end }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment