Merge branch 'tempv0.94.0'

This commit is contained in:
Bjørn Erik Pedersen committed 2022-03-10 14:28:50 +01:00
commit 4152ebc1d2
3 files changed
+13 -2

No files matched your search

@@ -70,6 +70,14 @@
{{ partial "hooks/before-body-end" . }} {{ 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> </body>
</html> </html>
+2 -1
View File
@@ -64,7 +64,8 @@ hugo server [flags]
--printMemoryUsage print memory usage to screen at intervals --printMemoryUsage print memory usage to screen at intervals
--printPathWarnings print warnings on duplicate target paths etc. --printPathWarnings print warnings on duplicate target paths etc.
--printUnusedTemplates print warnings on unused templates. --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 --templateMetrics display metrics about template executions
--templateMetricsHints calculate some improvement hints when combined with --templateMetrics --templateMetricsHints calculate some improvement hints when combined with --templateMetrics
-t, --theme strings themes to use (located in /themes/THEMENAME/) -t, --theme strings themes to use (located in /themes/THEMENAME/)
+3 -1
View File
@@ -1724,6 +1724,7 @@
"table": true, "table": true,
"strikethrough": true, "strikethrough": true,
"linkify": true, "linkify": true,
"linkifyProtocol": "https",
"taskList": true "taskList": true
} }
}, },
@@ -1843,7 +1844,7 @@
"keepDocumentTags": true, "keepDocumentTags": true,
"keepEndTags": true, "keepEndTags": true,
"keepQuotes": false, "keepQuotes": false,
"keepWhitespace": true "keepWhitespace": false
}, },
"css": { "css": {
"keepCSS2": true, "keepCSS2": true,
@@ -3299,6 +3300,7 @@
"Apply": { "Apply": {
"Description": "Apply takes a map, array, or slice and returns a new slice with the function fname applied over it.", "Description": "Apply takes a map, array, or slice and returns a new slice with the function fname applied over it.",
"Args": [ "Args": [
"ctx",
"seq", "seq",
"fname", "fname",
"args" "args"