Theme Forgejo wiki for CCDS
This commit is contained in:
parent
078c8dbf8c
commit
3a9838f7fc
4 changed files with 399 additions and 0 deletions
13
local-services/forgejo/sync-theme.sh
Executable file
13
local-services/forgejo/sync-theme.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
SRC_DIR="$ROOT_DIR/theme"
|
||||
TARGET_DIR="$ROOT_DIR/data/custom"
|
||||
|
||||
mkdir -p "$TARGET_DIR/public/assets/css" "$TARGET_DIR/templates/custom"
|
||||
|
||||
cp "$SRC_DIR/ccds-wiki.css" "$TARGET_DIR/public/assets/css/ccds-wiki.css"
|
||||
cp "$SRC_DIR/header.tmpl" "$TARGET_DIR/templates/custom/header.tmpl"
|
||||
|
||||
echo "Forgejo wiki theme synced into $TARGET_DIR"
|
||||
Loading…
Add table
Add a link
Reference in a new issue