mirror of
https://github.com/kubernetes-sigs/kind.git
synced 2025-12-01 07:26:05 +07:00
update hugo
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
@@ -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
|
||||
|
||||
@@ -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".
|
||||
|
||||
Reference in New Issue
Block a user