From 4c6a400ed8c61d168974d6356d0c55f9ffe80abb Mon Sep 17 00:00:00 2001 From: Andrew Gioia Date: Fri, 14 Aug 2020 22:38:21 -0400 Subject: [PATCH] Fixes the link render again, adds some convenience npm functions --- layouts/_default/_markup/render-link.html | 2 +- package.json | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 7a953b8..04cf9ea 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1 +1 @@ -{{ .Text | safeHTML }} \ No newline at end of file +{{ .Text | safeHTML }} \ No newline at end of file diff --git a/package.json b/package.json index 880bdb1..b7aa54c 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,10 @@ "sass": "sass --no-source-map assets/scss/main.scss public/css/style.css", "watch": "sass --no-source-map --watch assets/scss/main.scss public/css/style.css", "tidy": "tidy -config tidy.conf -mq public/**/*.html", + "tidy-bash": "find . -name '*.html' -type f -print -exec tidy -config ../tidy.conf -mq '{}' \;", + "copy": "cp -R public/* /var/www/blog.andrewgioia.com/", "editing": "hugo --environment development --watch=true", - "publish": "hugo && tidy -config tidy.conf -mq public/**/*.html && sass --no-source-map assets/scss/main.scss public/css/style.css && cp -R public/* /var/www/blog.andrewgioia.com/" + "publish": "hugo && sass --no-source-map assets/scss/main.scss public/css/style.css && cp -R public/* /var/www/blog.andrewgioia.com/" }, "repository": { "type": "git",