1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 08:55:32 -04:00

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

This commit is contained in:
2019-11-13 11:58:01 -05:00
parent 6f62c4dff5
commit dc879bce8c
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
---