From e47ddceec384e1c346979f27de1e49e5c654bdf6 Mon Sep 17 00:00:00 2001 From: ktnlvr Date: Mon, 15 Apr 2024 16:29:50 +0300 Subject: [PATCH] Initial commit --- .github/workflows/hugo.yml | 78 +++++++++++++++++++++++++++++++++++++ .gitignore | 3 ++ archetypes/default.md | 5 +++ hugo.toml | 9 +++++ layouts/index.html | 46 ++++++++++++++++++++++ static/favicon.ico | Bin 0 -> 15406 bytes static/robots.txt | 3 ++ 7 files changed, 144 insertions(+) create mode 100644 .github/workflows/hugo.yml create mode 100644 .gitignore create mode 100644 archetypes/default.md create mode 100644 hugo.toml create mode 100644 layouts/index.html create mode 100644 static/favicon.ico create mode 100644 static/robots.txt diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml new file mode 100644 index 0000000..6513dea --- /dev/null +++ b/.github/workflows/hugo.yml @@ -0,0 +1,78 @@ +# Sample workflow for building and deploying a Hugo site to GitHub Pages +name: Deploy Hugo site to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: + - master + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + +# Default to bash +defaults: + run: + shell: bash + +jobs: + # Build job + build: + runs-on: ubuntu-latest + env: + HUGO_VERSION: 0.111.3 + steps: + - name: Install Hugo CLI + run: | + wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ + && sudo dpkg -i ${{ runner.temp }}/hugo.deb + - name: Install Dart Sass Embedded + run: sudo snap install dart-sass-embedded + - name: Checkout + uses: actions/checkout@v3 + with: + submodules: recursive + fetch-depth: 0 + - name: Setup Pages + id: pages + uses: actions/configure-pages@v3 + - name: Install Node.js dependencies + run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" + - name: Build with Hugo + env: + # For maximum backward compatibility with Hugo modules + HUGO_ENVIRONMENT: production + HUGO_ENV: production + run: | + hugo \ + --gc \ + --minify \ + --baseURL "${{ steps.pages.outputs.base_url }}/" + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 + with: + path: ./public + + # Deployment job + 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@v2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..88b956f --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/public +/resources +.hugo_build.lock diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..c6f3fce --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +title = '{{ replace .File.ContentBaseName "-" " " | title }}' +date = {{ .Date }} +draft = true ++++ diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..18b8627 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,9 @@ +baseURL = 'https://ktnlvr.github.io' +languageCode = 'en-us' +title = "Ktnlvr's Attic" +enableGitInfo = true +enableRobotsTXT = true + +[minify] + disableCSS = false + minifyOutput = true diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..c0645f8 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,46 @@ + + + + + + + ktnlvr + + + + + + + +

ktnlvr

+
+

+ my name is Art(h)ur Roos (/ro:s/) +

+

+ i do game design, low-level stuff, hack on programming languages and crunch math(s) sometimes. + puzzles are my thing. good with time and deadlines. pride myself on self and team management. +

+

+ i'm down to figure out your whatever in rust, c/c++ or python. +

+
+ + + \ No newline at end of file diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..083db2f1a76a6dc69b95deb53ef7172eb0ddf400 GI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V-GsRBiXVW7e223)vwaMv2S?h1QWgEph=V}aq&p{QRD9tz9{!$)?6k8a7j5F7Z6`o^BWzUrzp_NAAy zAGV9T?5#(DhiW}nC_h96Gx9q;NyepXBK7y)k6(`zrbD!pH8& zN#sDEE_up(>t%l9om?i5k)fKw`bECEPZ4_95;;)}f^|v!CNVXBYySINZ>33bcKTD~ z*?GYuc@~0;PtXrO)PBCVXOTS&c<|XXy&7XY8{ki5N@jei^h(%M)t1UUJh-e;c(kv1 z{M#Iu$ewP?If+~v$&h{FUvI}{E}xL&=ol_JpM2F;aPwX3t3y_Xt(3LNgU;a7pE1@v z*vh=}dyMzy>xbIUn)V`p=eT;CE;4U*=Rb0Ck$16ydK)VJ`lVsZZ#E;x=HC&65A|&)#E06#AABNbmtz0R z!;k5rThT*h@Z8CAD>A6@%sjyll5RpJ|b)95j=td7m5!V^Ih}tBd7b^3AKyA)X(-tx$bMj?(*QuA8|%6 z30^)R537OX^G>K;{9*)B8>7ME7qehi=ZO8DvRR1{3!Ow^EN80`0h`e##A7>2y(~64xol6kCHNp?C%Xe~yda3;O4=?}W1N;{s zdKdC>r}8&X4pBp^E1QuVX)O7>i-FE1u=qV9_lv`};1yfx#~eI}?fS9KU1ViHHsdme zJzWgZC3!l}i!1QelYQ`~ZuI-3{|{jg{6KAFzTD)UG36ZT9bSyV2drgm;jvTStzv}P zxe!h=tv?gX`}TpsUEU!}aefen9bo<8v5oxI9-|662ldS?%Q4`dt8uK3Az5m>#Gn~meAgZWMEKfzbF mtH2AJ+*5wHBx^Q;7y2^p5?zwO|FQ()--9mEB?)vafqww47#ETN literal 0 HcmV?d00001 diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 0000000..6a91da5 --- /dev/null +++ b/static/robots.txt @@ -0,0 +1,3 @@ +User-agent: * +Disallow: /css/* +Disallow: /img/*