-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2,342 changed files
with
627 additions
and
388,567 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Use an official node image as a parent image | ||
FROM node:20 | ||
|
||
# Set environment variables for versions | ||
ARG HUGO_VERSION=0.126.1 | ||
ARG GO_VERSION=1.22.3 | ||
|
||
# Install dependencies | ||
RUN apt-get update && \ | ||
apt-get install -y ca-certificates openssl git curl && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# Determine architecture | ||
RUN ARCH=$(uname -m) && \ | ||
if [ "$ARCH" = "aarch64" ]; then ARCH=arm64; else ARCH=amd64; fi && \ | ||
echo "Architecture: $ARCH" | ||
|
||
# Download and install Hugo | ||
RUN ARCH=$(uname -m) && \ | ||
if [ "$ARCH" = "aarch64" ]; then ARCH=arm64; else ARCH=amd64; fi && \ | ||
wget -O hugo_extended_${HUGO_VERSION}.tar.gz https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-${ARCH}.tar.gz && \ | ||
tar xf hugo_extended_${HUGO_VERSION}.tar.gz && \ | ||
mv hugo /usr/bin/hugo && \ | ||
rm hugo_extended_${HUGO_VERSION}.tar.gz && \ | ||
echo "Hugo installed" | ||
|
||
# Download and install Go | ||
RUN ARCH=$(uname -m) && \ | ||
if [ "$ARCH" = "aarch64" ]; then ARCH=arm64; else ARCH=amd64; fi && \ | ||
wget -O go${GO_VERSION}.linux-${ARCH}.tar.gz https://dl.google.com/go/go${GO_VERSION}.linux-${ARCH}.tar.gz && \ | ||
tar -C /usr/local -xzf go${GO_VERSION}.linux-${ARCH}.tar.gz && \ | ||
rm go${GO_VERSION}.linux-${ARCH}.tar.gz && \ | ||
echo "Go installed" | ||
|
||
# Export Go path | ||
ENV PATH=$PATH:/usr/local/go/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "Hugo", | ||
"build": { | ||
"dockerfile": "Dockerfile", | ||
"args": { | ||
"GO_VERSION": "1.22.3", | ||
"HUGO_VERSION": "0.126.1" | ||
} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"settings": {}, | ||
"extensions": [ | ||
"bradlc.vscode-tailwindcss", | ||
"budparr.language-hugo-vscode", | ||
"tamasfe.even-better-toml" | ||
] | ||
} | ||
}, | ||
"remoteUser": "node", | ||
"postCreateCommand": "npm install && npm run dev:example", | ||
"forwardPorts": [1313] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
; https://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
stages: | ||
- build | ||
|
||
variables: | ||
HUGO_ENV: production | ||
HUGO_VERSION: "0.124.1" | ||
GO_VERSION: "1.22.2" | ||
NODE_VERSION: "18.16.1" | ||
|
||
cache: | ||
paths: | ||
- node_modules/ | ||
|
||
default: | ||
image: node:${NODE_VERSION} | ||
before_script: | ||
- echo "USING NODE ${NODE_VERSION}" | ||
- apt-get update && apt-get install -y curl | ||
- curl -LO "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz" | ||
- tar -xvf hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz | ||
- mv hugo /usr/local/bin/ | ||
- rm hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz | ||
- echo "HUGO ${HUGO_VERSION} INSTALLED" | ||
- curl -LO "https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz" | ||
- tar -C /usr/local -xzf go${GO_VERSION}.linux-amd64.tar.gz | ||
- export PATH=$PATH:/usr/local/go/bin | ||
- rm go${GO_VERSION}.linux-amd64.tar.gz | ||
- echo "GO ${GO_VERSION} INSTALLED" | ||
- npm install | ||
|
||
pages: | ||
stage: build | ||
script: | ||
- npm run project-setup | ||
- npm run build | ||
artifacts: | ||
paths: | ||
- public |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"maxerr": 50, | ||
"bitwise": true, | ||
"camelcase": false, | ||
"curly": true, | ||
"eqeqeq": true, | ||
"forin": true, | ||
"freeze": true, | ||
"immed": true, | ||
"indent": 2, | ||
"latedef": true, | ||
"newcap": false, | ||
"noarg": true, | ||
"noempty": true, | ||
"nonbsp": true, | ||
"nonew": true, | ||
"plusplus": false, | ||
"undef": true, | ||
"unused": false, | ||
"strict": true, | ||
"maxparams": false, | ||
"maxdepth": 4, | ||
"maxstatements": false, | ||
"maxcomplexity": false, | ||
"maxlen": 400, | ||
"browser": true, | ||
"devel": true, | ||
"asi": false, | ||
"boss": false, | ||
"debug": false, | ||
"eqnull": false, | ||
"es3": false, | ||
"es5": false, | ||
"esversion": 12, | ||
"moz": false, | ||
"evil": true, | ||
"expr": true, | ||
"funcscope": false, | ||
"globalstrict": false, | ||
"iterator": false, | ||
"lastsemic": false, | ||
"laxbreak": false, | ||
"laxcomma": false, | ||
"loopfunc": true, | ||
"multistr": true, | ||
"noyield": false, | ||
"notypeof": false, | ||
"proto": false, | ||
"scripturl": false, | ||
"shadow": false, | ||
"sub": false, | ||
"supernew": false, | ||
"validthis": false, | ||
"globals": { | ||
"jQuery": false, | ||
"google": false, | ||
"$": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"MD033": false, | ||
"MD034": false, | ||
"MD013": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"plugins": ["prettier-plugin-go-template"], | ||
"overrides": [ | ||
{ | ||
"files": ["*.html"], | ||
"options": { | ||
"parser": "go-template", | ||
"goTemplateBracketSpacing": true, | ||
"bracketSameLine": true | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"bradlc.vscode-tailwindcss", | ||
"budparr.language-hugo-vscode", | ||
"tamasfe.even-better-toml" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Development", | ||
"type": "shell", | ||
"command": "yarn dev:example", | ||
"isBackground": true, | ||
"group": { | ||
"kind": "test", | ||
"isDefault": true | ||
}, | ||
}, | ||
{ | ||
"label": "Build", | ||
"type": "shell", | ||
"command": "yarn build:example", | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/* /en/404.html 404 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
// Add your own custom styles here | ||
@import url(../fonts/Inter/inter.css); | ||
@import url(../fonts/fontawesome-free-6.5.2-web/css/all.min.css); | ||
|
||
|
||
// DO NOT WRITE ANY STYLE IN THIS FILE | ||
// If you want to add your own styles, please write it in the `./assets/scss/custom.scss` file. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.