Start moving from Jekyll to Hugo.

This commit is contained in:
Señor Rolando 2022-08-14 09:55:14 +02:00
parent 82d5675dd4
commit 2ef7861b92
4 changed files with 20 additions and 5 deletions

4
.env_sample Normal file
View file

@ -0,0 +1,4 @@
# -*- mode: shell-script -*-
export DEPLOY_SSH_USER=insert-remote-username
export DEPLOY_SSH_HOST=insert-remote-hostname
export DEPLOY_SSH_PATH=insert-remote-path

View file

@ -1,8 +1,17 @@
serve: serve:
bundle exec jekyll serve hugo server -D
build: # --minify: works on the final HTML output, not any (CSS, JS) assets
bundle exec jekyll build # see https://gohugo.io/hugo-pipes/bundling/ for the latter
# Note: as of mid 2021, '--minify' produces broken HTML. Disabled for now.
build: clean
hugo
# requires: source .env
deploy: build deploy: build
octopress deploy rsync -axv --delete --ignore-errors --exclude .DS_Store --exclude .git public/ $(DEPLOY_SSH_USER)@$(DEPLOY_SSH_HOST):$(DEPLOY_SSH_PATH)
clean:
rm -rf public
.PHONY: serve clean

View file

@ -1 +0,0 @@
baseurl: ""

3
config.toml Normal file
View file

@ -0,0 +1,3 @@
baseURL = 'https://rolandjesse.de/'
languageCode = 'de-DE'
title = 'Roland Jesse'