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

This commit is contained in:
jake committed 2019-11-13 11:58:01 -05:00
1 parent 6f62c4dff5
commit dc879bce8c
2 files changed
+5 -1

No files matched your search

+1 -1
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"]
+4
View File
@@ -1,6 +1,10 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
description: ""
tags:
- Tag
image: "image.png"
draft: true
---