Initial commit
This commit is contained in:
commit
eb889c0716
3 changed files with 21 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
templates-*
|
3
README.md
Normal file
3
README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Forgejo Custom Folder
|
||||
|
||||
This repo contains the Forgejo customizations for https://git.thearst3rd.com for reference purposes. Feel free to do whatever with these
|
17
download-templates.sh
Executable file
17
download-templates.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
# Download the given version of all the templates which exist
|
||||
|
||||
VERSION="v10.0.1"
|
||||
TEMPLATES_DIR=templates-$VERSION
|
||||
|
||||
if [ -d $TEMPLATES_DIR ]; then
|
||||
rm -rf $TEMPLATES_DIR
|
||||
fi
|
||||
|
||||
for i in custom/templates/**/*.tmpl; do
|
||||
newfile=$TEMPLATES_DIR${i#custom/templates}
|
||||
echo Downloading $newfile
|
||||
mkdir -p $(dirname $newfile)
|
||||
curl -o $newfile "https://codeberg.org/forgejo/forgejo/raw/tag/v10.0.1/$i"
|
||||
done
|
Loading…
Add table
Reference in a new issue