My site
Go to file
Tommy Harris f65ed541b4
add Resume link
2023-07-19 12:28:45 -06:00
.gitignore Fix gitignore path 2021-07-21 14:19:19 -06:00
README.md Initial commit 2021-07-21 14:18:21 -06:00
config.toml add Resume link 2023-07-19 12:28:45 -06:00
deploy.sh Initial commit 2021-07-21 14:18:21 -06:00

README.md

tobraha-site

Deploy this super simple hugo site.

#!/bin/bash

site_name="tobraha-site"
deploy_dir="$PWD/$site_name/public"

# initialize new site
hugo new site $site_name

cp ./config.toml $site_name/
cd $site_name

# add hugo theme as git submodule
git init
git submodule add https://github.com/Yukuro/hugo-theme-shell.git themes/hugo-theme-shell

# build
hugo -D

# fix unicode characters
sed -i 's/└/\\u2514/g' "$deploy_dir/index.html"
sed -i 's/├/\\u251c/g' "$deploy_dir/index.html"
sed -i 's/─/\\u2500/g' "$deploy_dir/index.html"