more little hugo things

This commit is contained in:
_N0x 2023-03-09 22:21:44 +01:00
parent a867dbba96
commit 3998fc265e
9 changed files with 12 additions and 4 deletions

View File

@ -13,7 +13,7 @@ pygmentscodefences = true
pygmentscodefencesguesssyntax = true
#favicon = "img/favicon/favicon.ico"
favicon = "/img/favicon/favicon-32x32.png"
favicon = "/images/favicon.ico"
#disqusShortname = "yourdiscussshortname"
[params]
@ -21,7 +21,8 @@ favicon = "/img/favicon/favicon-32x32.png"
description = "Just some small website"
keywords = "blog,developer,cyber security,personal"
info = "» Here be dragons «"
avatarurl = "img/spoopy.gif"
#avatarurl = "images/pics/spoopy.gif"
avatarurl = "images/pics/logo.png"
footercontent = ""
hideFooter = false

View File

@ -3,12 +3,13 @@ title = "About n0x.io"
slug = "about"
+++
## Contact me
![logo](/images/pics/logo.png)
## Contact me!
* E-Mail: tf[@]n0x.io
* Twitter: [@_n0tn0x](https://twitter.com/_n0tn0x)
* GitLab: [n0x_io](https://gitlab.com/n0x_io)
## Build with Hugo
This Website is generated with [Hugo](https://gohugo.io/) using the [Coder Theme](https://github.com/luizdepra/hugo-coder)

View File

@ -0,0 +1,6 @@
{{ $original := .Page.Resources.GetByPrefix (.Get 0) }}
{{ $options := .Get 1 }}
{{ .Scratch.Set "image" ($original.Resize $options) }}
{{ $image := .Scratch.Get "image" }}
<img src="{{ $image.RelPermalink }}" width="{{ $image.Width }}" height="{{ $image.Height }}">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 730 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

BIN
static/images/pics/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 MiB

After

Width:  |  Height:  |  Size: 3.9 MiB