{{ . }}
{{ end }} - {{ with .Content }}Click!
- {{ .Content }} -diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..f1d7f90 --- /dev/null +++ b/.prettierrc @@ -0,0 +1 @@ +tabWidth: 4 diff --git a/archetypes/post.md b/archetypes/post.md new file mode 100644 index 0000000..e18afa4 --- /dev/null +++ b/archetypes/post.md @@ -0,0 +1,6 @@ ++++ +title = "{{ replace .Name "-" " " | title }}" +date = {{ .Date }} +lastmod = +draft: true ++++ diff --git a/archetypes/links.md b/archetypes/service.md similarity index 100% rename from archetypes/links.md rename to archetypes/service.md diff --git a/assets/_me.scss b/assets/_me.scss new file mode 100644 index 0000000..5441875 --- /dev/null +++ b/assets/_me.scss @@ -0,0 +1,23 @@ +@use 'variables' as vars; + +.home { + &__content { + text-align: justify; + + img { + border-radius: 200px; + float: left; + margin: 0 24px 16px 0; + } + } +} + +@media only screen and (max-width: 500px) { + .home { + &__content { + img { + width: 100%; + } + } + } +} diff --git a/assets/_posts.scss b/assets/_posts.scss new file mode 100644 index 0000000..a6e1294 --- /dev/null +++ b/assets/_posts.scss @@ -0,0 +1,12 @@ +@use "variables" as vars; + +.single { + &__title { + margin-bottom: 0; + padding-bottom: 0; + } + + &__date { + color: vars.$color-yellow-dark; + } +} diff --git a/assets/_services.scss b/assets/_services.scss new file mode 100644 index 0000000..a5afed7 --- /dev/null +++ b/assets/_services.scss @@ -0,0 +1,12 @@ +@use 'variables' as vars; + +.services { + + &__list{ + display: flex; + + .service { + padding: 8px; + } + } +} diff --git a/assets/_sidebar.scss b/assets/_sidebar.scss new file mode 100644 index 0000000..c198021 --- /dev/null +++ b/assets/_sidebar.scss @@ -0,0 +1,23 @@ +@use "variables" as vars; + +.sidebar { + width: 25%; + max-width: 400px; + // background-color: green; + + ul { + list-style: none; + + li { + margin-left: -48px; + padding: 8px;; + } + } +} + +@media screen and (max-width: 800px) { + .sidebar { + width: 100%; + max-width: 100%; + } +} diff --git a/assets/_variables.scss b/assets/_variables.scss new file mode 100644 index 0000000..2fc8ac0 --- /dev/null +++ b/assets/_variables.scss @@ -0,0 +1,36 @@ +// Colour +$color-bg: #282828; +$color-fg: #ebdbb2; +$color-red-dark: #cc241d; +$color-green-dark: #98971a; +$color-yellow-dark: #d79921; +$color-blue-dark: #458588; +$color-purple-dark: #b16286; +$color-aqua-dark: #689d6a; +$color-grey-dark: #928374; +$color-orange-dark: #d65d0e; +$color-red: #fb4934; +$color-green: #b8bb26; +$color-yellow: #fabd2f; +$color-blue: #83a598; +$color-purple: #d3869b; +$color-aqua: #8ec07c; +$color-grey: #a89984; +$color-orange: #fe8019; +$color-bg0_h: #1d2021; +$color_bg0_s: #32302f; +$color-bg0: $color-bg; +$color-bg1: #3c3836; +$color-bg2: #504845; +$color-bg3: #665c54; +$color-bg4: #7c6f64; +$color-fg0: #fbf1c7; +$color-fg1: $color-fg; +$color-fg2: #d5c4a1; +$color-fg3: #bdae93; +$color-fg4: #a89984; + +// Layout +$content-width-norm: 60%; +$content-width-mid: 70%; +$content-width-narrow: 80%; diff --git a/assets/style.scss b/assets/style.scss new file mode 100644 index 0000000..4daa83d --- /dev/null +++ b/assets/style.scss @@ -0,0 +1,134 @@ +@use "variables" as vars; + +@import "services"; +@import "me"; +@import "posts"; +@import "sidebar"; + +body { + color: vars.$color-fg; + background: vars.$color-bg; +} + +.content-wrapper { + width: vars.$content-width-norm; + padding: 0 calc((100% - #{vars.$content-width-norm}) / 2); +} + +img { + max-width: 100%; +} + +@media only screen and (max-width: 1000px) { + .content-wrapper { + width: vars.$content-width-mid; + padding: 0 calc((100% - #{vars.$content-width-mid}) / 2); + } +} + +@media only screen and (max-width: 800px) { + .content-wrapper { + width: vars.$content-width-narrow; + padding: 0 calc((100% - #{vars.$content-width-narrow}) / 2); + } + + .main { + flex-direction: column; + + &__content { + width: 100% !important; + } + } +} + +.header { + // background-color: red; + &__title { + a, + a:link, + a:hover, + a:visited { + color: vars.$color-green-dark !important; + } + } + + &__nav { + display: flex; + + &__item { + list-style: none; + } + } +} + +.main { + justify-content: space-between; + display: flex; + + &__content { + width: 70%; + // background-color: blue; + } +} + +.summary { + &__title { + a, + a:link, + a:visited { + color: vars.$color-green-dark; + } + + a:hover { + color: vars.$color-green; + } + } + + &__date { + margin-bottom: 8px; + + &__time { + &--created { + color: vars.$color-aqua; + } + + &--edited { + color: vars.$color-aqua-dark; + } + } + } + + h2 { + padding-bottom: 0; + margin-bottom: 0; + } +} + +.footer { + // background: purple; + text-align: center; +} + +.pagination { + width: 100%; + text-align: center; + padding-top: 16px; +} + +a, +a:visited, +a:hover { + text-decoration: none; + color: vars.$color-blue-dark; +} + +a:hover { + color: vars.$color-blue; +} + +h1, +h2, +h3, +h4 { + color: vars.$color-orange-dark; +} diff --git a/config.toml b/config.toml index fcf8511..31b44da 100644 --- a/config.toml +++ b/config.toml @@ -3,23 +3,29 @@ languageCode = 'en-us' title = "Ink's Space" [params] - favicon = "/favicon.ico" - stylesheet = "/style.css" + favicon = "/favicon.ico" + mainSections = ['posts'] + +[[menu.main]] + identifier = "home" + name = "Home" + url = "/" + weight = 1 [[menu.main]] identifier = "me" name = "Me" - url = "/home/" - weight = 1 + url = "/me/" + weight = 2 [[menu.main]] identifier = "posts" name = "Posts" url = "/posts/" - weight = 2 + weight = 3 [[menu.main]] - identifier = "links" - name = "Links" - url = "/links/" - weight = 3 + identifier = "services" + name = "Services" + url = "/services/" + weight = 4 diff --git a/content/links/bitwarden.md b/content/links/bitwarden.md deleted file mode 100644 index b704ea6..0000000 --- a/content/links/bitwarden.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "Bitwarden" ---- - -[Bitwarden](https://bw.inkletblot.com) diff --git a/content/links/chk.md b/content/links/chk.md deleted file mode 100644 index f05579c..0000000 --- a/content/links/chk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "chk" ---- - -[chk](https://chkseven.com) diff --git a/content/links/cloud.md b/content/links/cloud.md deleted file mode 100644 index 8d0961e..0000000 --- a/content/links/cloud.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "cloud" ---- - -[cloud](https://cloud.inkletblot.com) diff --git a/content/links/gitlab.md b/content/links/gitlab.md deleted file mode 100644 index d853124..0000000 --- a/content/links/gitlab.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "gitlab" ---- - -[gitlab](https://gitlab.inkletblot.com) diff --git a/content/links/hab.md b/content/links/hab.md deleted file mode 100644 index a867800..0000000 --- a/content/links/hab.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "hab" ---- - -[hab](https://hab.inkletblot.com) diff --git a/content/links/mail.md b/content/links/mail.md deleted file mode 100644 index 084a9af..0000000 --- a/content/links/mail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "mail" ---- - -[mail](https://mail.inkletblot.com) diff --git a/content/links/matrix.md b/content/links/matrix.md deleted file mode 100644 index bcf7256..0000000 --- a/content/links/matrix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "matrix" ---- - -[matrix](https://matrix.inkletblot.com) diff --git a/content/links/pasty.md b/content/links/pasty.md deleted file mode 100644 index efbb9cc..0000000 --- a/content/links/pasty.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "pasty" ---- - -[pasty](https://proxy.inkletblot.com/pasty) diff --git a/content/links/pet.md b/content/links/pet.md deleted file mode 100644 index 240845e..0000000 --- a/content/links/pet.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "pet" ---- - -[pet](https://inkletblot.com/pet) diff --git a/content/links/pve.md b/content/links/pve.md deleted file mode 100644 index 8a1ef99..0000000 --- a/content/links/pve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "proxmox" ---- - -[proxmox](https://pve.inkletblot.com:8006) diff --git a/content/links/rancher.md b/content/links/rancher.md deleted file mode 100644 index 21f3724..0000000 --- a/content/links/rancher.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "rancher" ---- - -[rancher](https://rancher.inkletblot.com) diff --git a/content/links/streamer.md b/content/links/streamer.md deleted file mode 100644 index a25d8d4..0000000 --- a/content/links/streamer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "streamer" ---- - -[streamer](https://streamer.inkletblot.com) diff --git a/content/links/tng.md b/content/links/tng.md deleted file mode 100644 index 0d71063..0000000 --- a/content/links/tng.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "tng" ---- - -[tng](https://proxy.inkletblot.com/tng/) diff --git a/content/home/index.md b/content/me/index.md similarity index 53% rename from content/home/index.md rename to content/me/index.md index fe276ce..beb4b02 100644 --- a/content/home/index.md +++ b/content/me/index.md @@ -1,16 +1,14 @@ --- title: "Inkletblot" -type: "home" +type: "me" --- - - -My name is Solomon Laing. I'm a twenty something year old uni student and IT -professional from Adelaide, Australia. I'm passionate about Technology and IT, -it as been a hobby of mine for most of my life in one way or another and I -predict will be for many years to come. Should you wish to know more, I'm sure -you'll be able to find some footprint of me online. Regardless of how hard I -try to remove it. + My name is Solomon Laing. I'm a twenty +something year old uni student and IT professional from Adelaide, Australia. I'm +passionate about Technology and IT, it as been a hobby of mine for most of my +life in one way or another and I predict will be for many years to come. Should +you wish to know more, I'm sure you'll be able to find some footprint of me +online. Regardless of how hard I try to remove it. This website serves as a personal website for myself. A place for me to put my projects, experiments, important links and the such-like. Projects relate to my @@ -25,8 +23,8 @@ services which I use at home. Part of this is a small Kubernetes cluster consiting of Odroid-MC1s (by Hardkernel) which run the very simple api for this site and the slightly more complicated api for my forum. -This site is a simple testement to my passion for technology, it is not -supposed to be particularly eye-catching or engaging. I expect that few will -ever see it. But if you are one of the few, 'Hello and Welcome'. +This site is a simple testement to my passion for technology, it is not supposed +to be particularly eye-catching or engaging. I expect that few will ever see it. +But if you are one of the few, 'Hello and Welcome'. -See also [solomonlai.ng](https://solomonlai.ng). +See also [solomonlai.ng](https://solomonlai.ng), [LinkedIn](https://www.linkedin.com/in/inkletblot/), [Work](https://headfullofheart.com.au), [Contact](mailto:solomonlaing@pm.me). diff --git a/content/posts/an-old-new-upgrade-to-my-k8s.md b/content/posts/an-old-new-upgrade-to-my-k8s.md index 949812f..c9b9667 100644 --- a/content/posts/an-old-new-upgrade-to-my-k8s.md +++ b/content/posts/an-old-new-upgrade-to-my-k8s.md @@ -4,10 +4,6 @@ date: 2021-12-21 draft: false --- -# An Old New Upgrade to Kube - -By Me. - ## Intro I have had a little kubernetes cluster up and running for some time on a collection of Odroid MC1's and an N2. However, recently (I mean not so recently now but for the sake of the story) I attempted to update it and all went wrong, I got rancher set up on it but nothing, and I mean NOTHING, is compiled for armhv7. So, I gave up. I've actually now put linux mint on the N2 and use it as a home theater PC which works quite well. diff --git a/content/posts/hardkernel-odroid-kubernetes-cluster.md b/content/posts/hardkernel-odroid-kubernetes-cluster.md index 3121569..6595222 100644 --- a/content/posts/hardkernel-odroid-kubernetes-cluster.md +++ b/content/posts/hardkernel-odroid-kubernetes-cluster.md @@ -4,7 +4,7 @@ date: 2022-06-16 draft: false --- -# Odroid Cluster +## Odroid Cluster Say hello to my little odroid kubernetes cluster project. @@ -18,13 +18,13 @@ I followed [this](https://www.digitalocean.com/community/tutorials/how-to-create -ink -# Update Mid 2021 +## Update Mid 2021 I decided to totally rebuild this having never been able to get Rancher set up on it. See the details of that [here](https://www.inkletblot.com/projects/k3s-on-odroid-mc1s-a-guide) -ink -# Update 2021-12-21 +## Update 2021-12-21 I have sadly now decomissioned this little cluster. The five MC1 units are currently unused and the N2 is now my media PC in my bedroom. Not all is sad though, I decomissiod it because I replaced it with a bigger and better setup using old HP t620 thin clients, of which I got 5 for a rediculously good price at a local IT liquidation auction. See more [here](https://www.inkletblot.com/projects/an-old-new-upgrade-to-kube) diff --git a/content/services/bitwarden.md b/content/services/bitwarden.md new file mode 100644 index 0000000..4c88447 --- /dev/null +++ b/content/services/bitwarden.md @@ -0,0 +1,9 @@ +--- +title: "Bitwarden" +link: "https://bw.inkletblot.com" +--- + +I host my own instance of bitwarden on my homelab which I and my girlfriend +use, I had nothing against the free teir of Bitwarden it just seemed like fun +to set up. It's running in docker and is probably one of the simplest services +I run in terms of setup. diff --git a/content/services/chk.md b/content/services/chk.md new file mode 100644 index 0000000..210f680 --- /dev/null +++ b/content/services/chk.md @@ -0,0 +1,9 @@ +--- +title: "chk" +link: "https://chkseven.com" +--- + +This is a domain I have had parked, redirecting to this one, for some time, +originally I wanted to create a task list webapp for it. However, now I'm +currently reworking my homelab to be infrastructure as code, and I hope to use +this domain as my reverse proxy. diff --git a/content/services/cloud.md b/content/services/cloud.md new file mode 100644 index 0000000..a8720c3 --- /dev/null +++ b/content/services/cloud.md @@ -0,0 +1,10 @@ +--- +title: "cloud" +link: "https://cloud.inkletblot.com" +--- + +I host a nextcloud instance, for those curious +[here](https://en.reddit.com/r/degoogle) is some information on why. I'm the +only one that uses and it works like a charm. Mostly I use it for file and +contact synchronisation, and instant upload/backup of the photos I take on my +phone. diff --git a/content/services/gitlab.md b/content/services/gitlab.md new file mode 100644 index 0000000..4628bf9 --- /dev/null +++ b/content/services/gitlab.md @@ -0,0 +1,8 @@ +--- +title: "gitlab" +link: "https://gitlab.inkletblot.com" +--- + +With Microsofts diddling of gitlab I figured I could host my own incantation of +github, gitlab. On it reside all of my code based projcets, public or private, +feel free to take a look. diff --git a/content/services/hab.md b/content/services/hab.md new file mode 100644 index 0000000..e3397a3 --- /dev/null +++ b/content/services/hab.md @@ -0,0 +1,7 @@ +--- +title: "hab" +link: "https://hab.inkletblot.com" +--- + +Home automation, while stupid, dangerous, and a waste of time, is convenient +from time to time. diff --git a/content/services/jellyfin.md b/content/services/jellyfin.md new file mode 100644 index 0000000..a12eb13 --- /dev/null +++ b/content/services/jellyfin.md @@ -0,0 +1,9 @@ +--- +title: "jellyfin" +link: "https://jellyfin.inkletblot.com" +--- + +I don't sail the high seas, I don't condone sailing the high seas, however, if +you do sail the high seas and want a way to manage that which you pillage, +JellyFin is pretty useful. I like it's ability to parse my extensive collection +of photos that I have received or taken over the years. diff --git a/content/services/matrix.md b/content/services/matrix.md new file mode 100644 index 0000000..5e04f40 --- /dev/null +++ b/content/services/matrix.md @@ -0,0 +1,7 @@ +--- +title: "matrix" +link: "https://matrix.inkletblot.com" +--- + +I host this because I think matrix is admirable and important, I personally use +this instance to communicate with my girlfriend, among other means. diff --git a/content/services/pasty.md b/content/services/pasty.md new file mode 100644 index 0000000..8eff243 --- /dev/null +++ b/content/services/pasty.md @@ -0,0 +1,6 @@ +--- +title: "pasty" +link: "https://proxy.inkletblot.com/pasty" +--- + +The first service I set up, second to my website, and I will never get rid of it. I have also never used it :D p.s. it's a pastbin. diff --git a/content/services/pve.md b/content/services/pve.md new file mode 100644 index 0000000..32b29ec --- /dev/null +++ b/content/services/pve.md @@ -0,0 +1,7 @@ +--- +title: "proxmox" +link: "https://pve.inkletblot.com:8006" +--- + +I use proxmox to run my homelab, it's nice and this is a link to it, no you +can't access it. diff --git a/content/services/rancher.md b/content/services/rancher.md new file mode 100644 index 0000000..2c85508 --- /dev/null +++ b/content/services/rancher.md @@ -0,0 +1,8 @@ +--- +title: "rancher" +link: "https://rancher.inkletblot.com" +--- + +I have a small kubernetes cluser made from a set of 5 HP t620s, it works quite +nicely. I don't have it running most of the time as I don't have a use for it +but when I do it's managed with rancher. diff --git a/content/services/tng.md b/content/services/tng.md new file mode 100644 index 0000000..829da63 --- /dev/null +++ b/content/services/tng.md @@ -0,0 +1,7 @@ +--- +title: "tng" +link: "https://proxy.inkletblot.com/tng/" +--- + +I host this genealogy platform for my father who is somewhat of a family history +buff. If you wish to know the history of my family, take a peak. diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c6432d7..1ac22b3 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,20 +1,31 @@ - + +
- - - -Click!
- {{ .Content }} -