hugo mod init, added alpinejs module, switch to yaml

This commit is contained in:
Aleksa Siriški 2023-06-07 19:16:20 +02:00
parent 0b158f5545
commit 97a2e48585
No known key found for this signature in database
6 changed files with 74 additions and 61 deletions

View File

@ -1,4 +1,4 @@
import Alpine from 'alpinejs';
import Alpine from 'jslibs/alpinejs/v3/alpinejs/dist/module.esm.js';
window.Alpine = Alpine;
Alpine.start();

10
assets/jsconfig.json Normal file
View File

@ -0,0 +1,10 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"*": [
"../../../../../../../tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3@v3.21000.20300/packages/*"
]
}
}
}

View File

@ -1,60 +0,0 @@
baseURL = "https://tailbliss.netlify.app/"
title = "TailBliss"
languageCode = "en-us"
DefaultContentLanguage = "en"
enableEmoji = true
enableGitInfo = true
enableRobotsTXT = true
canonifyURLs = true
paginate = 9
darkmode_js = ["assets/js/darkmode.js"]
enableInlineShortcodes = true
[params]
author = "Nusser Studios"
authorimage = "../assets/images/global/author.webp"
github = "https://github.com/nusserstudios"
facebook = "https://facebook.com/nusserstudios"
og_image = "/images/tailbliss-cover.png"
sitename = "TailBliss"
twitter = "@nusserstudios"
description = "TailBliss is Hugo Starter"
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[taxonomies]
category = "Categories"
tag = "Tags"
[privacy]
[privacy.disqus]
disable = false
[privacy.googleAnalytics]
anonymizeIP = true
disable = false
respectDoNotTrack = false
useSessionStorage = false
[privacy.instagram]
disable = false
simple = false
[privacy.twitter]
disable = false
enableDNT = false
simple = false
[privacy.vimeo]
disable = false
enableDNT = false
simple = false
[privacy.youtube]
disable = false
privacyEnhanced = true
[module]
[module.hugoVersion]
extended = true
min = "0.104.0"

5
go.mod Normal file
View File

@ -0,0 +1,5 @@
module tailbliss
go 1.20
require github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.21000.20300 // indirect

2
go.sum Normal file
View File

@ -0,0 +1,2 @@
github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.21000.20300 h1:NqEL3Y2QX4UYmuC0qDLR5XMpIQGHE5O4kuhG2ieYqmA=
github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.21000.20300/go.mod h1:WWQxcmPs5Xy3xDgi29ipkmZT6NKVb3bsqyCDTY3eYYY=

56
hugo.yaml Normal file
View File

@ -0,0 +1,56 @@
baseURL: 'https://tailbliss.netlify.app/'
title: TailBliss
languageCode: en-us
DefaultContentLanguage: en
enableEmoji: true
enableGitInfo: true
enableRobotsTXT: true
canonifyURLs: true
paginate: 9
darkmode_js:
- assets/js/darkmode.js
enableInlineShortcodes: true
params:
author: Nusser Studios
authorimage: ../assets/images/global/author.webp
github: 'https://github.com/nusserstudios'
facebook: 'https://facebook.com/nusserstudios'
og_image: /images/tailbliss-cover.png
sitename: TailBliss
twitter: '@nusserstudios'
description: TailBliss is Hugo Starter
markup:
goldmark:
renderer:
unsafe: true
taxonomies:
category: Categories
tag: Tags
privacy:
disqus:
disable: false
googleAnalytics:
anonymizeIP: true
disable: false
respectDoNotTrack: false
useSessionStorage: false
instagram:
disable: false
simple: false
twitter:
disable: false
enableDNT: false
simple: false
vimeo:
disable: false
enableDNT: false
simple: false
youtube:
disable: false
privacyEnhanced: true
module:
hugoVersion:
extended: true
min: "0.104.0"
imports:
- path: "github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3"