Add hugo-frontmatter snippet
This commit is contained in:
parent
606601ba86
commit
85cf4d5e39
1 changed files with 14 additions and 0 deletions
14
dotfiles/emacs/.config/doom/snippets/hugo-frontmatter
Normal file
14
dotfiles/emacs/.config/doom/snippets/hugo-frontmatter
Normal file
|
@ -0,0 +1,14 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: hugo-frontmatter
|
||||
# key: hfm
|
||||
# --
|
||||
#+author: Ray Miller
|
||||
#+hugo_publishdate: `(format-time-string "%Y-%m-%dT%T%z")`
|
||||
#+date: `(format-time-string "%Y-%m-%dT%T%z")`
|
||||
#+hugo_auto_set_lastmod: t
|
||||
#+hugo_categories: $1
|
||||
#+filetags: $2
|
||||
#+toc: headlines 3
|
||||
#+draft: false
|
||||
#+hugo_section: ${3:post}
|
||||
#+hugo_custom_front_matter: :summary "I NEED A SUMMARY"
|
Loading…
Add table
Reference in a new issue