mirror of
https://github.com/andrewgioia/blog.git
synced 2025-01-26 21:03:19 +00:00
Fixes the link render again, adds some convenience npm functions
This commit is contained in:
parent
01633f67ea
commit
4c6a400ed8
@ -1 +1 @@
|
||||
<a href="{{ .Destination | safeURL }}" {{ with .Title}} title="{{ . }}"{{ end }} {{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }} </a>
|
||||
<a href="{{ .Destination | safeURL }}" {{ with .Title}} title="{{ . }}"{{ end }} {{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user