mirror of
https://github.com/lleene/hugo-site.git
synced 2025-07-27 10:12:17 +02:00
add static images to repo
This commit is contained in:
15
static/images/replace_style.awk
Normal file
15
static/images/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