mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 05:36:07 +01:00
Adds h-review
This commit is contained in:
parent
2b92306183
commit
c8efeb9dd8
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ tasks:
|
|||
cmds:
|
||||
- |
|
||||
[ -d "$HOME/.puma-dev/" ] && (echo {{ .port }} > $HOME/.puma-dev/{{ .domain }}) || echo "Puma dev not installed, https://{{ .domain }}{{ .puma_dev_tld }} will not work"
|
||||
- hugo server -p {{ .port }} --minify --printUnusedTemplates -D --baseURL "https://{{ .domain }}{{ .puma_dev_tld }}" --appendPort=false
|
||||
- hugo server --port {{ .port }} --minify --printUnusedTemplates --buildDrafts --baseURL "https://{{ .domain }}{{ .puma_dev_tld }}" --appendPort=false
|
||||
|
||||
build:
|
||||
desc: Builds the production-ready site in ./public/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{ define "main" }}
|
||||
<main class="post h-entry"{{ if eq .Type "site-infra" }} data-pagefind-ignore="all"{{ end }}>
|
||||
<main class="post h-entry {{ if eq .Type "review" }}h-review{{ end }}"{{ if eq .Type "site-infra" }} data-pagefind-ignore="all"{{ end }}>
|
||||
|
||||
<div class="post-info">
|
||||
{{ $dateType := "published" }}
|
||||
|
|
Loading…
Reference in a new issue