Skip to content

Instantly share code, notes, and snippets.

@HugoDF
Created May 17, 2020 15:38
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 HugoDF/b64392b72d7c86632328f5957aaaf722 to your computer and use it in GitHub Desktop.
Save HugoDF/b64392b72d7c86632328f5957aaaf722 to your computer and use it in GitHub Desktop.
codewithhugo.com newsletter archetype

{{- $date := index (findRE [0-9]{4}-[0-9]{2}-[0-9]{2} .Name 1) 0 -}} {{- $title := replace (replaceRE [0-9]{4}-[0-9]{2}-[0-9]{2}- "" .Name) "-" " " | title -}}

title: {{ $title }} - Code with Hugo - {{ dateFormat "Jan 12th 2006" $date }} publish_date: {{ $date }}

Welcome to the XXXth Edition of the Code with Hugo newsletter about JavaScript, Node.js & Enterprise patterns.

Here are 3 links I think are worth your time this week,

{{ range first 1 .Site.Pages.ByDate.Reverse }}

  1. "{{ .Title }}" {{ index (findRE (?m)^.*?[\.!\?](?:\s|$) (.Summary | plainify) 1) 0 }} ({{ .ReadingTime }} min read) : [{{ .Permalink }}]({{ .Permalink }}) {{ end }}

  2. description ( min read): link

  3. description ( min read): link

Fun quote/Tweet of the week is @XXX [doing Y]:

// insert

The book recommendation this week is/This month/week I recommend/I've finished/been thinking about [book]. [INSERT REVIEW/NOTES]

That's{{- $date := index (findRE [0-9]{4}-[0-9]{2}-[0-9]{2} .Name 1) 0 -}} {{- $title := replace (replaceRE [0-9]{4}-[0-9]{2}-[0-9]{2}- "" .Name) "-" " " | title -}}

title: {{ $title }} - Code with Hugo - {{ dateFormat "Jan 12th 2006" $date }} publish_date: {{ $date }}

Welcome to the XXXth Edition of the Code with Hugo newsletter about JavaScript, Node.js & Enterprise patterns.

Here are 3 links I think are worth your time this week,

{{ range first 1 .Site.Pages.ByDate.Reverse }}

  1. "{{ .Title }}" {{ index (findRE (?m)^.*?[\.!\?](?:\s|$) (.Summary | plainify) 1) 0 }} ({{ .ReadingTime }} min read) : [{{ .Permalink }}]({{ .Permalink }}) {{ end }}

  2. description ( min read): link

  3. description ( min read): link

Fun quote/Tweet of the week is @XXX [doing Y]:

// insert

The book recommendation this week is/This month/week I recommend/I've finished/been thinking about [book]. [INSERT REVIEW/NOTES]

That's all for this week, stay tuned for more JavaScript tips to help you get stuff done.

Hugo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment