Merge branch 'tempv0.94.0'

This commit is contained in:
Bjørn Erik Pedersen 2022-03-10 14:28:50 +01:00
commit 4152ebc1d2
No known key found for this signature in database
GPG Key ID: 330E6E2BD4859D8F
3 changed files with 13 additions and 2 deletions

View File

@ -70,6 +70,14 @@
{{ partial "hooks/before-body-end" . }}
{{ if .Page.Store.Get "hasMermaid" }}
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script>
mermaid.initialize({ startOnLoad: true });
</script>
{{ end }}
</body>
</html>

View File

@ -64,7 +64,8 @@ hugo server [flags]
--printMemoryUsage print memory usage to screen at intervals
--printPathWarnings print warnings on duplicate target paths etc.
--printUnusedTemplates print warnings on unused templates.
--renderToDisk render to Destination path (default is render to memory & serve from there)
--renderStaticToDisk serve static files from disk and dynamic files from memory
--renderToDisk serve all files from disk (default is from memory)
--templateMetrics display metrics about template executions
--templateMetricsHints calculate some improvement hints when combined with --templateMetrics
-t, --theme strings themes to use (located in /themes/THEMENAME/)

View File

@ -1724,6 +1724,7 @@
"table": true,
"strikethrough": true,
"linkify": true,
"linkifyProtocol": "https",
"taskList": true
}
},
@ -1843,7 +1844,7 @@
"keepDocumentTags": true,
"keepEndTags": true,
"keepQuotes": false,
"keepWhitespace": true
"keepWhitespace": false
},
"css": {
"keepCSS2": true,
@ -3299,6 +3300,7 @@
"Apply": {
"Description": "Apply takes a map, array, or slice and returns a new slice with the function fname applied over it.",
"Args": [
"ctx",
"seq",
"fname",
"args"