Initial commit
Signed-off-by: Tommy Harris <tobraha@tilde.team>
This commit is contained in:
commit
03451f6e21
|
@ -0,0 +1 @@
|
||||||
|
./tobraha-site
|
|
@ -0,0 +1,28 @@
|
||||||
|
# tobraha-site
|
||||||
|
|
||||||
|
Deploy this super simple hugo site.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
#!/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"
|
||||||
|
```
|
|
@ -0,0 +1,47 @@
|
||||||
|
baseURL = "https://tilde.team/~tobraha"
|
||||||
|
languageCode = "en-us"
|
||||||
|
title = "Tommy's Site"
|
||||||
|
theme = "hugo-theme-shell"
|
||||||
|
|
||||||
|
[Params]
|
||||||
|
[Params.Terminal]
|
||||||
|
# Note: color schema
|
||||||
|
# Note: You can choose between
|
||||||
|
# Note: ["monokai", "powershell", "gruvbox_light", "gruvbox_dark", "solarized_light", "solarized_dark", "ubuntu", "retro"]
|
||||||
|
schema = "gruvbox_dark"
|
||||||
|
|
||||||
|
# Note: in terminal
|
||||||
|
# [userName]@[pcName]:~/$ cd [workDir]
|
||||||
|
# [userName]@[pcName]:~/[workDir]$ cat [profile]
|
||||||
|
#
|
||||||
|
# [description]
|
||||||
|
#
|
||||||
|
# Note: if you set Params.Tree > user = true
|
||||||
|
# [userName]@[pcName]:~/[workDir]$ tree ./[folderName]/
|
||||||
|
# ./[folderName]/
|
||||||
|
# ...
|
||||||
|
# Note: result of the tree command
|
||||||
|
userName = "tobraha"
|
||||||
|
pcName = "master-sword"
|
||||||
|
workDir = "my_stuff"
|
||||||
|
profile = "profile"
|
||||||
|
|
||||||
|
# Note: speed at which text is displayed on the terminal
|
||||||
|
terminalDelay = 10
|
||||||
|
|
||||||
|
# Note: speed at which text is displayed on the activity pages
|
||||||
|
activityDelay = 5
|
||||||
|
|
||||||
|
description = """
|
||||||
|
Hi! I'm Tommy.
|
||||||
|
I live in Albuquerque, New Mexico and I like computer stuff.
|
||||||
|
|
||||||
|
"""
|
||||||
|
[Params.Tree]
|
||||||
|
use = true
|
||||||
|
folderName = "things"
|
||||||
|
# Note: ["ACTIVITY", "URL or PATH TO YOUR MARKDOWN FILE"]
|
||||||
|
files = [
|
||||||
|
["Github", "https://github.com/tobraha/"],
|
||||||
|
["Twitter", "https://twitter.com/tobraha"]
|
||||||
|
]
|
|
@ -0,0 +1,22 @@
|
||||||
|
#!/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"
|
Loading…
Reference in New Issue