1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 16:48:26 -04:00

add fields to archetype and build drafts on Docker serve [skip ci]

This commit is contained in:
Jake Jarvis 2019-11-13 11:58:01 -05:00
parent 6f62c4dff5
commit dc879bce8c
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
2 changed files with 5 additions and 1 deletions

View File

@ -20,4 +20,4 @@ WORKDIR /src
EXPOSE 1313
ENTRYPOINT ["/usr/bin/hugo"]
CMD ["server", "--bind", "0.0.0.0", "--port", "1313", "--verbose"]
CMD ["server", "--buildDrafts", "--buildFuture", "--bind", "0.0.0.0", "--port", "1313", "--verbose"]

View File

@ -1,6 +1,10 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
description: ""
tags:
- Tag
image: "image.png"
draft: true
---