The source code for the website hosted at kararou.space
https://kararou.space
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 month ago | |
---|---|---|
archetypes | 1 year ago | |
content | 1 month ago | |
service/illumos | 6 months ago | |
static | 1 year ago | |
themes | 6 months ago | |
tools | 6 months ago | |
.gitignore | 1 year ago | |
.gitmodules | 1 year ago | |
.hugo_build.lock | 1 month ago | |
README.md | 6 months ago | |
config.toml | 1 month ago | |
makefile | 6 months ago |
README.md
A website to point an advert at lol.
Adding a new post
from the root of the repo, run hugo new posts/<posttitle>.md
. Use your favourite editor to modify the md file to contain all the metadata you'd like and the content you want it to contain.
Prerequisites
- Hugo Static Site Generator
- GNU Make
Development
normal hugo development things.
Quick Setup on SmartOS
# Install Prereqs
pkgin up && pkgin -y in gmake git go-hugo
# clone repo
mkdir /var/www
git clone https://git.kararou.space/KCRL/kararou.space /var/www/kararou.space
# pull submodules
cd /var/www/kararou.space && make pull
# install webserver (creates www user)
pkgin -y in nginx
# point nginx config at the correct location
sed -i 's;share/example/nginx/html;/var/www/kararou.space/public;g' /opt/local/etc/nginx/nginx.conf
# enable autoupdate service
svccfg import ./service/illumos/smf.xml
# restart nginx
svcadm restart nginx