Initial commit
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "themes/gokarna"]
|
||||
path = themes/gokarna
|
||||
url = https://github.com/526avijitgupta/gokarna.git
|
||||
5
archetypes/default.md
Normal file
5
archetypes/default.md
Normal file
@@ -0,0 +1,5 @@
|
||||
+++
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
date = {{ .Date }}
|
||||
draft = true
|
||||
+++
|
||||
12
content/index-about.md
Normal file
12
content/index-about.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# Hi, I'm sebastians :)
|
||||
|
||||
I currently study computer science at [TU Darmstadt](https://www.informatik.tu-darmstadt.de/) and work a part-time job in high-performance computing. In my free time I can be found volunteering at [Selfnet e.V.](https://selfnet.de/), existing in a local [hackspace](https://chaos-darmstadt.de) or attending a [Chaos event](https://entropia.de/GPN).
|
||||
|
||||
## Hack my infrastructure
|
||||
|
||||
I self-host a few services:
|
||||
|
||||
- [Nextcloud](https://cloud.sebastians.dev/)
|
||||
- [Gitea](https://git.sebastians.dev/)
|
||||
- [HedgeDoc](https://md.sebastians.dev/)
|
||||
- [What's my IPv{4,6}](https://ip.sebastians.dev/)
|
||||
77
flake.lock
generated
Normal file
77
flake.lock
generated
Normal file
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"nodes": {
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1701680307,
|
||||
"narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "flake-utils",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"gokarna": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1700608281,
|
||||
"narHash": "sha256-RuLgaFJI5lGKdc3BCxcckhSgI2U7M5nQzhyu6Ovyi+Y=",
|
||||
"owner": "526avijitgupta",
|
||||
"repo": "gokarna",
|
||||
"rev": "041c4e28a7904c9692e3b34c857624dd994ef6a4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "526avijitgupta",
|
||||
"repo": "gokarna",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1703013332,
|
||||
"narHash": "sha256-+tFNwMvlXLbJZXiMHqYq77z/RfmpfpiI3yjL6o/Zo9M=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "54aac082a4d9bb5bbc5c4e899603abfb76a3f6d6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"gokarna": "gokarna",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
29
flake.nix
Normal file
29
flake.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
description = "sebastians website";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
gokarna = {
|
||||
url = "github:526avijitgupta/gokarna";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils, gokarna }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
packages.website = pkgs.stdenv.mkDerivation {
|
||||
name = "sebastians-website";
|
||||
src = self;
|
||||
buildPhase = ''
|
||||
mkdir -p themes
|
||||
ln -s ${gokarna} themes/gokarna
|
||||
${pkgs.hugo}/bin/hugo -s . -d $out
|
||||
'';
|
||||
};
|
||||
|
||||
defaultPackage = self.packages.${system}.website;
|
||||
devShells.default = pkgs.mkShell { packages = [ pkgs.hugo ]; };
|
||||
});
|
||||
}
|
||||
54
hugo.toml
Normal file
54
hugo.toml
Normal file
@@ -0,0 +1,54 @@
|
||||
baseURL = 'https://sebastians.dev/'
|
||||
title = 'sebastians'
|
||||
theme = 'gokarna'
|
||||
languageCode = 'en'
|
||||
defaultContentLanguage = 'en'
|
||||
enableEmoji = true
|
||||
|
||||
pygmentsStyle = 'monokai'
|
||||
|
||||
[params]
|
||||
footer = "sebastians"
|
||||
description = ""
|
||||
avatarURL = "https://assets.chaos.social/accounts/avatars/110/484/932/971/821/025/original/bf3eb8e5045fd396.png"
|
||||
AvatarAltText = "cartoon image of me"
|
||||
avatarSize = "size-m"
|
||||
ShowBackToTopButton = false# true or false for "back to top" button on posts
|
||||
customHeadHTML = """
|
||||
<!-- KaTeX -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.css" integrity="sha384-Xi8rHCmBmhbuyyhbI88391ZKP2dmfnOl4rT9ZfRI7mLTdk1wblIUnrIq35nqwEvC" crossorigin="anonymous">
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.js" integrity="sha384-X/XCfMm41VSsqRNQgDerQczD69XqmjOOOwYQvr/uuC+j4OPoNhVgjdGFwhvN02Ja" crossorigin="anonymous"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/contrib/auto-render.min.js" integrity="sha384-+XBljXPPiv+OzfbB3cVmLHf4hdUFHlWNZN5spNQ7rmHTXpd7WvJum6fIACpNNfIR" crossorigin="anonymous"></script>
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
renderMathInElement(document.body, {
|
||||
// customised options
|
||||
// • auto-render specific keys, e.g.:
|
||||
delimiters: [
|
||||
{left: '$$', right: '$$', display: true},
|
||||
{left: '$', right: '$', display: false},
|
||||
],
|
||||
// • rendering keys, e.g.:
|
||||
throwOnError : false
|
||||
});
|
||||
});
|
||||
</script>
|
||||
"""
|
||||
socialIcons = [
|
||||
{name = "github", url = "https://github.com/sebinbash"},
|
||||
{name = "mastodon", url = "https://chaos.social/@sebastians"},
|
||||
{name = "spotify", url = "https://spotify.com/"},
|
||||
{name = "element", url = "https://matrix.to/#/@sebastians:selfnet.de"},
|
||||
{name = "email", url = "mailto:mail@sebastians.dev"},
|
||||
{name = "rss", url = "/index.xml"}
|
||||
]
|
||||
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
identifier = "home"
|
||||
url = "/"
|
||||
pre = ""
|
||||
post = ""
|
||||
name = "Home"
|
||||
weight = 1
|
||||
|
||||
6
static/svg/icons/element.svg
Normal file
6
static/svg/icons/element.svg
Normal file
@@ -0,0 +1,6 @@
|
||||
<svg viewBox="0 0 54 54" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M19.4414 3.24C19.4414 1.4506 20.892 0 22.6814 0C34.6108 0 44.2814 9.67065 44.2814 21.6C44.2814 23.3894 42.8308 24.84 41.0414 24.84C39.252 24.84 37.8014 23.3894 37.8014 21.6C37.8014 13.2494 31.032 6.48 22.6814 6.48C20.892 6.48 19.4414 5.0294 19.4414 3.24Z"/>
|
||||
<path d="M34.5586 50.76C34.5586 52.5494 33.108 54 31.3186 54C19.3893 54 9.71861 44.3294 9.71861 32.4C9.71861 30.6106 11.1692 29.16 12.9586 29.16C14.748 29.16 16.1986 30.6106 16.1986 32.4C16.1986 40.7505 22.9681 47.52 31.3186 47.52C33.108 47.52 34.5586 48.9706 34.5586 50.76Z"/>
|
||||
<path d="M3.24 34.5601C1.4506 34.5601 -6.34076e-08 33.1095 -1.41625e-07 31.3201C-6.63074e-07 19.3907 9.67065 9.72007 21.6 9.72007C23.3894 9.72007 24.84 11.1707 24.84 12.9601C24.84 14.7495 23.3894 16.2001 21.6 16.2001C13.2495 16.2001 6.48 22.9695 6.48 31.3201C6.48 33.1095 5.0294 34.5601 3.24 34.5601Z"/>
|
||||
<path d="M50.76 19.4399C52.5494 19.4399 54 20.8905 54 22.6799C54 34.6093 44.3294 44.2799 32.4 44.2799C30.6106 44.2799 29.16 42.8293 29.16 41.0399C29.16 39.2505 30.6106 37.7999 32.4 37.7999C40.7505 37.7999 47.52 31.0305 47.52 22.6799C47.52 20.8905 48.9706 19.4399 50.76 19.4399Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
1
themes/gokarna
Submodule
1
themes/gokarna
Submodule
Submodule themes/gokarna added at 041c4e28a7
Reference in New Issue
Block a user