My personal website written in HUGO https://itsdrike.com
Go to file
2022-04-12 12:35:34 +02:00
archetypes Initial commit (hugo) 2021-07-08 15:20:26 +02:00
content Add used sources for GnuPG post 2022-04-12 11:28:34 +02:00
data Add matrix to socials and contact 2021-08-29 13:22:37 +02:00
layouts Show revision date if added 2022-04-12 12:35:34 +02:00
scripts Use bash explicitly, not any system sh 2022-02-08 19:08:53 +00:00
static/src Add 403 page (it has gandalf!) 2022-04-08 20:29:00 +02:00
.gitignore Ignore hugo build lockfile 2022-02-08 20:04:59 +01:00
config.yml Enable posts with future time 2021-08-26 01:30:30 +02:00
LICENSE Initial commit (hugo) 2021-07-08 15:20:26 +02:00
package-lock.json Add jquery 2021-08-25 19:36:37 +02:00
package.json Add jquery 2021-08-25 19:36:37 +02:00
README.md Update README.md 2021-08-26 12:22:11 +00:00

My personal website

AGPL

This is the source code for my personal website, hosted on https://itsdrike.com

Building the website

The website is built using hugo, but you will also need npm, since it provides easy way to version control the needed packages. These include things such as Bootstrap SASS, Font Awesome (Free) and JQuery.

After all NPM requirements are satisfied, to build the static webpage and hugo is installed, run ./scripts/build.sh, which will create a ./public directory, which will contain all static files and can be used as a location for the file server.

You can then use any file server of your liking to make the webpage available, if you want to stick to hugo, you can use a custom script, that runs the build script automatically and then starts the hugo server for you: scripts/server.sh. By default, this will use http://localhost:1313, but you can pass hugo server arguments just like you would normally, so you can do:

$ ./scripts/server.sh --bind 0.0.0.0 --port 80 --baseURL https://itsdrike.com/