mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-10 19:05:41 +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:
|
cmds:
|
||||||
- |
|
- |
|
||||||
[ -d "$HOME/.puma-dev/" ] && (echo {{ .port }} > $HOME/.puma-dev/{{ .domain }}) || echo "Puma dev not installed, https://{{ .domain }}{{ .puma_dev_tld }} will not work"
|
[ -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:
|
build:
|
||||||
desc: Builds the production-ready site in ./public/
|
desc: Builds the production-ready site in ./public/
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{ define "main" }}
|
{{ 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">
|
<div class="post-info">
|
||||||
{{ $dateType := "published" }}
|
{{ $dateType := "published" }}
|
||||||
|
|
Loading…
Reference in a new issue