update hugo

This commit is contained in:
Benjamin Elder
2019-12-11 17:36:30 -08:00
parent 09b20ed639
commit 220b46ff30
4 changed files with 26 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ publish = "site/public/"
command = "hugo"
[build.environment]
HUGO_VERSION = "0.53"
HUGO_VERSION = "0.60.0"
[context.production.environment]
# this controls our robots.txt

View File

@@ -1,7 +1,14 @@
# from https://github.com/kubernetes/website/blob/master/Makefile
DOCKER = docker
HUGO_VERSION = 0.60.0
DOCKER_IMAGE = jojomi/hugo:$(HUGO_VERSION)
DOCKER_RUN = $(DOCKER) run --rm --interactive --tty --volume $(realpath $(CURDIR)/..):/src -p 1313:1313 --workdir /src/site --entrypoint=hugo $(DOCKER_IMAGE)
serve:
hugo server \
$(DOCKER_RUN) server --bind="0.0.0.0" \
--ignoreCache \
--buildFuture
--buildFuture \
--disableFastRender
build:
hugo
$(DOCKER_RUN)

View File

@@ -8,13 +8,21 @@ enableRobotsTXT = true
# this allows us to show the source commit in the footer
enableGitInfo = true
# syntax highlighting options
pygmentsCodeFences = true
pygmentsStyle = "tango"
# we don't use these currently
disableKinds = ["taxonomy", "taxonomyTerm"]
# syntax highlighting options
[markup]
[markup.highlight]
codeFences = true
hl_Lines = ""
lineNoStart = 1
lineNos = false
lineNumbersInTable = true
noClasses = true
style = "vs"
tabWidth = 4
# enable hugo's menu system for the site, name the primary menu
sectionPagesMenu = "main"
# menu entries

View File

@@ -1,3 +1,6 @@
---
tile: kind
---
<p style="text-align: center; margin-top: 2em; margin-bottom: -.75em;"><img alt="kind" src="./logo/logo.png" width="300px" /></p>
[kind] is a tool for running local Kubernetes clusters using Docker container "nodes".