1
0
Fork 0

I hate cloudflare

master
Stefan 1 year ago
parent ba04c39a31
commit 2e03938b72

@ -17,6 +17,7 @@ edit() {
publish() {
cd "$BLOG_PATH"
rm -rf "public/"
hugo
# rsync script must be created manually
$HOME/.local/bin/sync-elpengu "$BLOG_PATH/public/" && echo "Site synced successfully" || echo "An error occured while syncing the site."

@ -19,10 +19,6 @@
</title>
{{ end }}
<!-- CSS -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.5.0/css/flag-icon.min.css" rel="stylesheet"
type="text/css">
{{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" true) }}
{{ $style := resources.Get "scss/main.scss" | resources.ToCSS $options | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">

Loading…
Cancel
Save