🔥 🚚 Remove no used code & rename startup shell script file name.

This commit is contained in:
凡梦星尘
2022-10-12 20:06:14 +08:00
parent e4cb4f0188
commit e0cfe0c50c
3 changed files with 1 additions and 5 deletions

23
exampleSite/startup.sh Normal file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
# 本地快速启动脚本
# Quick start in local.
next() {
cat << EOT
========================================
███╗ ██╗███████╗██╗ ██╗████████╗
████╗ ██║██╔════╝╚██╗██╔╝╚══██╔══╝
██╔██╗ ██║█████╗ ╚███╔╝ ██║
██║╚██╗██║██╔══╝ ██╔██╗ ██║
██║ ╚████║███████╗██╔╝ ██╗ ██║
╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝ ╚═╝
========================================
Hugo NexT version $1
Documentation: https://hugo-next.eu.org
========================================
EOT
}
next `cat ../VERSION`
hugo server -t ../.. --port 1414 --panicOnWarning --config config.yaml