Compare commits

...

10 commits

Author SHA1 Message Date
Shautvast
127578093a no, no public
Some checks failed
Build and deploy / build (push) Has been cancelled
Build and deploy / deploy (push) Has been cancelled
2025-11-22 15:49:32 +01:00
Shautvast
17a906ed0f main add public again 2025-11-22 15:47:51 +01:00
Shautvast
8f042bb315 main add public again 2025-11-22 15:43:50 +01:00
Shautvast
745432760b trying this 2025-11-22 15:41:10 +01:00
Shautvast
84c82ee8e4 remove blank 2025-11-22 15:20:51 +01:00
Sander Hautvast
29c7c7b922
Add GitHub Actions workflow for static site deployment
This workflow automates the deployment of static content to GitHub Pages upon pushes to the main branch or manual triggers.
2025-11-22 15:19:37 +01:00
Sander Hautvast
b5fe124ff6
Create blank.yml 2025-11-22 15:19:05 +01:00
Shautvast
dd5d449ae2 don't commit public 2025-11-22 15:11:28 +01:00
Shautvast
cdfdbf0fa7 typo 2025-11-22 15:06:15 +01:00
Shautvast
ed1d74460c new site 2025-11-22 15:00:07 +01:00
15 changed files with 113 additions and 495 deletions

106
.github/workflows/hugo.yaml vendored Normal file
View file

@ -0,0 +1,106 @@
name: Build and deploy
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
defaults:
run:
shell: bash
jobs:
build:
runs-on: ubuntu-latest
env:
DART_SASS_VERSION: 1.93.2
GO_VERSION: 1.25.3
HUGO_VERSION: 0.152.2
NODE_VERSION: 22.20.0
TZ: Europe/Oslo
steps:
- name: Checkout
uses: actions/checkout@v5
with:
submodules: recursive
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
cache: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Create directory for user-specific executable files
run: |
mkdir -p "${HOME}/.local"
- name: Install Dart Sass
run: |
curl -sLJO "https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz"
tar -C "${HOME}/.local" -xf "dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz"
rm "dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz"
echo "${HOME}/.local/dart-sass" >> "${GITHUB_PATH}"
- name: Install Hugo
run: |
curl -sLJO "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz"
mkdir "${HOME}/.local/hugo"
tar -C "${HOME}/.local/hugo" -xf "hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz"
rm "hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz"
echo "${HOME}/.local/hugo" >> "${GITHUB_PATH}"
- name: Verify installations
run: |
echo "Dart Sass: $(sass --version)"
echo "Go: $(go version)"
echo "Hugo: $(hugo version)"
echo "Node.js: $(node --version)"
- name: Install Node.js dependencies
run: |
[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true
- name: Configure Git
run: |
git config core.quotepath false
- name: Cache restore
id: cache-restore
uses: actions/cache/restore@v4
with:
path: ${{ runner.temp }}/hugo_cache
key: hugo-${{ github.run_id }}
restore-keys:
hugo-
- name: Build the site
run: |
hugo \
--gc \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/" \
--cacheDir "${{ runner.temp }}/hugo_cache"
- name: Cache save
id: cache-save
uses: actions/cache/save@v4
with:
path: ${{ runner.temp }}/hugo_cache
key: ${{ steps.cache-restore.outputs.cache-primary-key }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
.idea/ .idea/
.DS_Store .DS_Store
public/

View file

@ -1,4 +1,8 @@
baseURL = 'https://shautvast.hithub.io/' baseURL = 'https://shautvast.github.io/'
languageCode = 'en-us' languageCode = 'en-us'
title = 'TiPi-lang' title = 'TiPi-lang'
theme = 'ananke' theme = 'ananke'
[caches]
[caches.images]
dir = ':cacheDir/images'

View file

@ -1,96 +0,0 @@
<!DOCTYPE html>
<html lang="en-us">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>TiPi-lang</title>
<meta name="viewport" content="width=device-width,minimum-scale=1">
<meta name="description" content="">
<meta name="generator" content="Hugo 0.152.2">
<meta name="robots" content="noindex, nofollow">
<link rel="stylesheet" href="/ananke/css/main.min.css" >
<link rel="canonical" href="http://localhost:1313/404.html">
<meta property="og:url" content="http://localhost:1313/404.html">
<meta property="og:site_name" content="TiPi-lang">
<meta property="og:title" content="404 Page not found">
<meta property="og:locale" content="en_us">
<meta property="og:type" content="website">
<meta itemprop="name" content="404 Page not found">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="404 Page not found">
</head><body class="ma0 avenir bg-near-white development">
<header>
<div class="bg-black">
<nav class="pv3 ph3 ph4-ns" role="navigation">
<div class="flex-l center items-center justify-between">
<a href="/" class="f3 fw2 hover-white white-90 dib no-underline">
TiPi-lang
</a>
<div class="flex-l items-center">
<div class="ananke-socials"></div>
</div>
</div>
</nav>
</div>
</header>
<main class="pb7" role="main">
<article class="center cf pv5 measure-wide-l">
<h1>
This is not the page you were looking for
</h1>
</article>
</main>
<footer class="bg-black bottom-0 w-100 pa3" role="contentinfo">
<div class="flex justify-between">
<a class="f4 fw4 hover-white white-70 dn dib-ns pv2 ph3 no-underline" href="http://localhost:1313/" >
&copy; TiPi-lang 2025
</a>
<div><div class="ananke-socials"></div>
</div>
</div>
</footer>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,113 +0,0 @@
<!DOCTYPE html>
<html lang="en-us">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>TiPi-lang</title>
<meta name="viewport" content="width=device-width,minimum-scale=1">
<meta name="description" content="">
<meta name="generator" content="Hugo 0.152.2">
<meta name="robots" content="noindex, nofollow">
<link rel="stylesheet" href="/ananke/css/main.min.css" >
<link href="/categories/index.xml" rel="alternate" type="application/rss+xml" title="TiPi-lang" />
<link href="/categories/index.xml" rel="feed" type="application/rss+xml" title="TiPi-lang" />
<link rel="canonical" href="http://localhost:1313/categories/">
<meta property="og:url" content="http://localhost:1313/categories/">
<meta property="og:site_name" content="TiPi-lang">
<meta property="og:title" content="Categories">
<meta property="og:locale" content="en_us">
<meta property="og:type" content="website">
<meta itemprop="name" content="Categories">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Categories">
</head><body class="ma0 avenir bg-near-white development">
<header>
<div class="pb3-m pb6-l bg-black">
<nav class="pv3 ph3 ph4-ns" role="navigation">
<div class="flex-l center items-center justify-between">
<a href="/" class="f3 fw2 hover-white white-90 dib no-underline">
TiPi-lang
</a>
<div class="flex-l items-center">
<div class="ananke-socials"></div>
</div>
</div>
</nav>
<div class="tc-l pv3 ph3 ph4-ns">
<h1 class="f2 f-subheadline-l fw2 light-silver mb0 lh-title">
Categories
</h1>
</div>
</div>
</header>
<main class="pb7" role="main">
<article class="cf pa3 pa4-m pa4-l">
<div class="measure-wide-l center f4 lh-copy nested-copy-line-height nested-links mid-gray">
</div>
</article>
<div class="mw8 center">
<section class="ph4">
</section>
</div>
</main>
<footer class="bg-black bottom-0 w-100 pa3" role="contentinfo">
<div class="flex justify-between">
<a class="f4 fw4 hover-white white-70 dn dib-ns pv2 ph3 no-underline" href="http://localhost:1313/" >
&copy; TiPi-lang 2025
</a>
<div><div class="ananke-socials"></div>
</div>
</div>
</footer>
</body>
</html>

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on TiPi-lang</title>
<link>http://localhost:1313/categories/</link>
<description>Recent content in Categories on TiPi-lang</description>
<generator>Hugo</generator>
<language>en-us</language>
<atom:link href="http://localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 276 KiB

View file

@ -1,113 +0,0 @@
<!DOCTYPE html>
<html lang="en-us">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>TiPi-lang</title>
<meta name="viewport" content="width=device-width,minimum-scale=1">
<meta name="description" content="">
<meta name="generator" content="Hugo 0.152.2">
<meta name="robots" content="noindex, nofollow">
<link rel="stylesheet" href="/ananke/css/main.min.css" >
<link href="/index.xml" rel="alternate" type="application/rss+xml" title="TiPi-lang" />
<link href="/index.xml" rel="feed" type="application/rss+xml" title="TiPi-lang" />
<link rel="canonical" href="http://localhost:1313/">
<meta property="og:url" content="http://localhost:1313/">
<meta property="og:site_name" content="TiPi-lang">
<meta property="og:title" content="TiPi-lang">
<meta property="og:locale" content="en_us">
<meta property="og:type" content="website">
<meta itemprop="name" content="TiPi-lang">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="TiPi-lang">
</head><body class="ma0 avenir bg-near-white development">
<header>
<div class="pb3-m pb6-l bg-black">
<nav class="pv3 ph3 ph4-ns" role="navigation">
<div class="flex-l center items-center justify-between">
<a href="/" class="f3 fw2 hover-white white-90 dib no-underline">
TiPi-lang
</a>
<div class="flex-l items-center">
<div class="ananke-socials"></div>
</div>
</div>
</nav>
<div class="tc-l pv3 ph3 ph4-ns">
<h1 class="f2 f-subheadline-l fw2 light-silver mb0 lh-title">
TiPi-lang
</h1>
</div>
</div>
</header>
<main class="pb7" role="main">
<article class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy nested-links mid-gray">
</article>
</main>
<footer class="bg-black bottom-0 w-100 pa3" role="contentinfo">
<div class="flex justify-between">
<a class="f4 fw4 hover-white white-70 dn dib-ns pv2 ph3 no-underline" href="http://localhost:1313/" >
&copy; TiPi-lang 2025
</a>
<div><div class="ananke-socials"></div>
</div>
</div>
</footer>
</body>
</html>

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>TiPi-lang</title>
<link>http://localhost:1313/</link>
<description>Recent content on TiPi-lang</description>
<generator>Hugo</generator>
<language>en-us</language>
<atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>http://localhost:1313/categories/</loc>
</url><url>
<loc>http://localhost:1313/tags/</loc>
</url><url>
<loc>http://localhost:1313/</loc>
</url>
</urlset>

View file

@ -1,113 +0,0 @@
<!DOCTYPE html>
<html lang="en-us">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>TiPi-lang</title>
<meta name="viewport" content="width=device-width,minimum-scale=1">
<meta name="description" content="">
<meta name="generator" content="Hugo 0.152.2">
<meta name="robots" content="noindex, nofollow">
<link rel="stylesheet" href="/ananke/css/main.min.css" >
<link href="/tags/index.xml" rel="alternate" type="application/rss+xml" title="TiPi-lang" />
<link href="/tags/index.xml" rel="feed" type="application/rss+xml" title="TiPi-lang" />
<link rel="canonical" href="http://localhost:1313/tags/">
<meta property="og:url" content="http://localhost:1313/tags/">
<meta property="og:site_name" content="TiPi-lang">
<meta property="og:title" content="Tags">
<meta property="og:locale" content="en_us">
<meta property="og:type" content="website">
<meta itemprop="name" content="Tags">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Tags">
</head><body class="ma0 avenir bg-near-white development">
<header>
<div class="pb3-m pb6-l bg-black">
<nav class="pv3 ph3 ph4-ns" role="navigation">
<div class="flex-l center items-center justify-between">
<a href="/" class="f3 fw2 hover-white white-90 dib no-underline">
TiPi-lang
</a>
<div class="flex-l items-center">
<div class="ananke-socials"></div>
</div>
</div>
</nav>
<div class="tc-l pv3 ph3 ph4-ns">
<h1 class="f2 f-subheadline-l fw2 light-silver mb0 lh-title">
Tags
</h1>
</div>
</div>
</header>
<main class="pb7" role="main">
<article class="cf pa3 pa4-m pa4-l">
<div class="measure-wide-l center f4 lh-copy nested-copy-line-height nested-links mid-gray">
</div>
</article>
<div class="mw8 center">
<section class="ph4">
</section>
</div>
</main>
<footer class="bg-black bottom-0 w-100 pa3" role="contentinfo">
<div class="flex justify-between">
<a class="f4 fw4 hover-white white-70 dn dib-ns pv2 ph3 no-underline" href="http://localhost:1313/" >
&copy; TiPi-lang 2025
</a>
<div><div class="ananke-socials"></div>
</div>
</div>
</footer>
</body>
</html>

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on TiPi-lang</title>
<link>http://localhost:1313/tags/</link>
<description>Recent content in Tags on TiPi-lang</description>
<generator>Hugo</generator>
<language>en-us</language>
<atom:link href="http://localhost:1313/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>