add gaming page, update hugo server command
This commit is contained in:
parent
281bde421c
commit
6265e0f8aa
12
config.toml
12
config.toml
@ -76,12 +76,12 @@ enableGitInfo = true
|
||||
weight = 3
|
||||
identifier = "podcast"
|
||||
url = "/podcast/"
|
||||
# [[menu.main]]
|
||||
# name = "Readings"
|
||||
# pre = "<i class='fa fa-book fa-fw'></i>"
|
||||
# weight = 4
|
||||
# identifier = "reading"
|
||||
# url = "/reading/"
|
||||
[[menu.main]]
|
||||
name = "Gaming"
|
||||
pre = "<i class='fa fa-dice fa-fw'></i>"
|
||||
weight = 4
|
||||
identifier = "gaming"
|
||||
url = "/gaming/"
|
||||
# [[menu.main]]
|
||||
# name = "Resources"
|
||||
# pre = "<i class='fa fa-screwdriver fa-fw'></i>"
|
||||
|
8
content/gaming.md
Normal file
8
content/gaming.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Gaming Stuff
|
||||
description: Useful Tools For Table Top Gaming
|
||||
---
|
||||
|
||||
## Gamma World
|
||||
|
||||
* {{< abstab title="Gamma World Gaming Tools" url="https://gmgauthier.com/gw" >}}
|
@ -2,15 +2,15 @@
|
||||
|
||||
export LOG=./logs/hugo-server.log
|
||||
|
||||
if ! [ -z "$1" ]; then
|
||||
if [ -n "$1" ]; then
|
||||
if [[ "$1" == "start" ]]; then
|
||||
hugo server -D --disableFastRender --enableGitInfo -v --debug > $LOG 2>&1 &
|
||||
echo "Server started on $(pidof hugo)"
|
||||
elif [[ "$1" == "stop" ]]; then
|
||||
kill -9 $(pidof hugo)
|
||||
kill -9 "$(pidof hugo)"
|
||||
elif [[ "$1" == "status" ]]; then
|
||||
pid=$(pidof hugo)
|
||||
if ! [ -z "$pid" ]; then
|
||||
if [ -n "$pid" ]; then
|
||||
echo "Hugo Server Active. PID: ${pid}"
|
||||
else
|
||||
echo "Hugo Server Is Inactive."
|
||||
|
Loading…
Reference in New Issue
Block a user