mirror of
https://github.com/lleene/hugo-site.git
synced 2025-10-26 17:59:03 +01:00
WIP: Major content update
This commit is contained in:
2
scripts/build.sh
Executable file
2
scripts/build.sh
Executable file
@ -0,0 +1,2 @@
|
||||
git pull
|
||||
hugo -s . -d static/public
|
||||
15
scripts/replace_style.awk
Normal file
15
scripts/replace_style.awk
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/awk
|
||||
BEGIN{style_flag=0}
|
||||
|
||||
/<style>/{
|
||||
style_flag=1
|
||||
}
|
||||
|
||||
//{
|
||||
if(style_flag == 0) print $0
|
||||
}
|
||||
|
||||
/<\/style>/{
|
||||
style_flag=0
|
||||
print f1
|
||||
}
|
||||
Reference in New Issue
Block a user