mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2026-07-28 11:13:28 +00:00
feat: Add Hugo configuration
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"features": {
|
||||||
|
"ghcr.io/devcontainers/features/hugo:1": {
|
||||||
|
"version": "1.1.3",
|
||||||
|
"resolved": "ghcr.io/devcontainers/features/hugo@sha256:15465c956810aa164c9644b6df5ca36f6cac3e7a86b7dcc474a1fb830b21c509",
|
||||||
|
"integrity": "sha256:15465c956810aa164c9644b6df5ca36f6cac3e7a86b7dcc474a1fb830b21c509"
|
||||||
|
},
|
||||||
|
"ghcr.io/devcontainers/features/node:1": {
|
||||||
|
"version": "1.7.1",
|
||||||
|
"resolved": "ghcr.io/devcontainers/features/node@sha256:8c0de46939b61958041700ee89e3493f3b2e4131a06dc46b4d9423427d06e5f6",
|
||||||
|
"integrity": "sha256:8c0de46939b61958041700ee89e3493f3b2e4131a06dc46b4d9423427d06e5f6"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"image": "mcr.microsoft.com/devcontainers/go",
|
||||||
|
"features": {
|
||||||
|
"ghcr.io/devcontainers/features/hugo:1": {
|
||||||
|
"extended": true,
|
||||||
|
"version": "0.156.0"
|
||||||
|
},
|
||||||
|
"ghcr.io/devcontainers/features/node:1": {}
|
||||||
|
},
|
||||||
|
"customizations": {
|
||||||
|
"vscode": {
|
||||||
|
"extensions": [
|
||||||
|
"mhutchie.git-graph",
|
||||||
|
"esbenp.prettier-vscode",
|
||||||
|
"tamasfe.even-better-toml",
|
||||||
|
"budparr.language-hugo-vscode"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"forwardPorts": [
|
||||||
|
1313
|
||||||
|
]
|
||||||
|
}
|
||||||
Vendored
+12
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
|
||||||
|
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
|
||||||
|
|
||||||
|
// List of extensions which should be recommended for users of this workspace.
|
||||||
|
"recommendations": [
|
||||||
|
"mhutchie.git-graph",
|
||||||
|
"esbenp.prettier-vscode",
|
||||||
|
"tamasfe.even-better-toml",
|
||||||
|
"budparr.language-hugo-vscode"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
module github.com/imfing/hextra-starter-template
|
||||||
|
|
||||||
|
go 1.26
|
||||||
|
|
||||||
|
require github.com/imfing/hextra v0.12.3 // indirect
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
github.com/imfing/hextra v0.12.3 h1:DZHY2rUWYteyzjlHi9r4n7Bb5e2Q+6LXe4C1Dqn0ZjM=
|
||||||
|
github.com/imfing/hextra v0.12.3/go.mod h1:vi+yhpq8YPp/aghvJlNKVnJKcPJ/VyAEcfC1BSV9ARo=
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
# Hugo configuration file
|
||||||
|
title: My Site
|
||||||
|
|
||||||
|
# import hextra as module
|
||||||
|
module:
|
||||||
|
imports:
|
||||||
|
- path: github.com/imfing/hextra
|
||||||
|
|
||||||
|
markup:
|
||||||
|
# allow raw html
|
||||||
|
goldmark:
|
||||||
|
renderer:
|
||||||
|
unsafe: true
|
||||||
|
parser:
|
||||||
|
attribute:
|
||||||
|
block: true
|
||||||
|
title: true
|
||||||
|
|
||||||
|
# enable hextra syntax highlight
|
||||||
|
highlight:
|
||||||
|
noClasses: false
|
||||||
|
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
- name: KB
|
||||||
|
pageRef: /kb
|
||||||
|
weight: 1
|
||||||
|
- name: Tools
|
||||||
|
pageRef: /tools
|
||||||
|
weight: 2
|
||||||
|
- name: Contact ↗
|
||||||
|
url: "https://github.com/imfing"
|
||||||
|
weight: 3
|
||||||
|
- name: Search
|
||||||
|
weight: 4
|
||||||
|
params:
|
||||||
|
type: search
|
||||||
|
- name: GitHub
|
||||||
|
weight: 5
|
||||||
|
url: "https://github.com/imfing/hextra-starter-template"
|
||||||
|
params:
|
||||||
|
icon: github
|
||||||
|
- name: Twitter
|
||||||
|
weight: 6
|
||||||
|
url: "https://twitter.com/"
|
||||||
|
params:
|
||||||
|
icon: x-twitter
|
||||||
|
|
||||||
|
params:
|
||||||
|
navbar:
|
||||||
|
displayTitle: true
|
||||||
|
displayLogo: false
|
||||||
|
|
||||||
|
footer:
|
||||||
|
displayCopyright: false
|
||||||
|
displayPoweredBy: true
|
||||||
|
|
||||||
|
editURL:
|
||||||
|
enable: true
|
||||||
|
base: "https://github.com/imfing/hextra-starter-template/edit/main/content"
|
||||||
Reference in New Issue
Block a user