This commit is contained in:
parent
82a9aa3779
commit
13f6f1ec6b
|
@ -11,14 +11,15 @@
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
"forwardPorts": [1313],
|
"forwardPorts": [1313],
|
||||||
|
|
||||||
"onCreateCommand": "apk add git-lfs",
|
"onCreateCommand": {
|
||||||
"customizations": {
|
"lfs": "apk add git-lfs",
|
||||||
"vscode": {
|
"pagefind": "export VER=v1.0.3 && wget \"https://github.com/CloudCannon/pagefind/releases/download/${VER}/pagefind-${VER}-x86_64-unknown-linux-musl.tar.gz\" && tar -xf \"pagefind-${VER}-x86_64-unknown-linux-musl.tar.gz\" && mv pagefind /usr/bin/ && rm \"pagefind-${VER}-x86_64-unknown-linux-musl.tar.gz\""
|
||||||
"extensions": [
|
},
|
||||||
"streetsidesoftware.code-spell-checker"
|
"customizations": {
|
||||||
]
|
"vscode": {
|
||||||
}
|
"extensions": ["streetsidesoftware.code-spell-checker"]
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Use 'postCreateCommand' to run commands after the container is created.
|
// Use 'postCreateCommand' to run commands after the container is created.
|
||||||
// "postCreateCommand": "uname -a",
|
// "postCreateCommand": "uname -a",
|
||||||
|
|
14
.vscode/tasks.json
vendored
14
.vscode/tasks.json
vendored
|
@ -12,7 +12,19 @@
|
||||||
{
|
{
|
||||||
"label": "build",
|
"label": "build",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "hugo -D",
|
"command": "hugo",
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "pagefind",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "pagefind --site public",
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "view",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "python3 -m http.server 1313 --directory public",
|
||||||
"problemMatcher": []
|
"problemMatcher": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -8,7 +8,7 @@ steps:
|
||||||
build:
|
build:
|
||||||
image: klakegg/hugo:ext-alpine
|
image: klakegg/hugo:ext-alpine
|
||||||
commands:
|
commands:
|
||||||
- hugo -D
|
- hugo --minify
|
||||||
deploy:
|
deploy:
|
||||||
image: minio/mc
|
image: minio/mc
|
||||||
secrets: [MINIO_URL, ACCESS_KEY, SECRET_KEY]
|
secrets: [MINIO_URL, ACCESS_KEY, SECRET_KEY]
|
||||||
|
|
|
@ -66,6 +66,8 @@ homeSubtitle = [
|
||||||
"My interests include building web and mobile applications, both front and back end. Over the years I learned and used many programming languages and technologies, including JavaScript, TypeScript, React, React Native, Python, Java, C, C++, Clojure, Rust, and Haskell. Pretty much everything I've worked on is open source and available on <a href='https://github.com/SeriousBug/'>my Github page</a>.",
|
"My interests include building web and mobile applications, both front and back end. Over the years I learned and used many programming languages and technologies, including JavaScript, TypeScript, React, React Native, Python, Java, C, C++, Clojure, Rust, and Haskell. Pretty much everything I've worked on is open source and available on <a href='https://github.com/SeriousBug/'>my Github page</a>.",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
enablePagefind = true
|
||||||
|
|
||||||
# Set a background for the homepage
|
# Set a background for the homepage
|
||||||
# backgroundImage = "assets/images/background.jpg"
|
# backgroundImage = "assets/images/background.jpg"
|
||||||
|
|
||||||
|
|
9
layouts/partials/header-search.html
Normal file
9
layouts/partials/header-search.html
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<link href="/pagefind/pagefind-ui.css" rel="stylesheet">
|
||||||
|
<script src="/pagefind/pagefind-ui.js"></script>
|
||||||
|
|
||||||
|
<div id="search"></div>
|
||||||
|
<script>
|
||||||
|
window.addEventListener('DOMContentLoaded', (event) => {
|
||||||
|
new PagefindUI({ element: "#search", showSubResults: true, resetStyles: false, showImages: true });
|
||||||
|
});
|
||||||
|
</script>
|
|
@ -1 +1 @@
|
||||||
Subproject commit 9a12bd312aad34529c95b5efbe3eed414704a805
|
Subproject commit 9782b57a9195096534a4326c54b8289b9b4e928f
|
Loading…
Reference in a new issue