1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-12-03 03:48:55 -05:00

add babel / esbuild pipes via Hugo, remove terser

This commit is contained in:
2021-06-05 08:35:57 -04:00
parent 1a02c31a32
commit 23debefee2
18 changed files with 1965 additions and 218 deletions

View File

@@ -1,3 +1,5 @@
{{ printf "<!-- htmlmin:ignore -->" | safeHTML -}}
{{ printf "<!-- %s -->" hugo.Environment | safeHTML }}
{{ printf "<!-- %s -->" hugo.Version | safeHTML }}
{{ printf "<!-- /content/%s -->" .File.Path | safeHTML }}
{{- printf "<!-- htmlmin:ignore -->" | safeHTML }}

View File

@@ -1,3 +1,5 @@
{{- partial "scripts/_bundle" . -}}
{{/* Strip any markdown styling from page title for use in meta tags */}}
{{- with .Title -}}
{{- $.Scratch.Set "plainTitle" (. | markdownify | htmlUnescape | plainify) -}}