Add content block to page layout
This commit is contained in:
parent
d231402c7d
commit
2054e63081
2 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
#awk -v today="$TODAY" '{print today}'
|
#awk -v today="$TODAY" '{print today}'
|
||||||
|
|
||||||
present() {
|
present() {
|
||||||
grep "$TODAY" | grep GET | awk '($9 !~ /404/)' | awk '{print $7}' | sed 's/\?.*$//g' | grep -v -E "\.php|\.xml|http:" | sed 's:\(.\)/$:\1:' | sort | uniq -c | sort -rn
|
grep "$TODAY" | grep GET | awk '($9 !~ /404/)' | awk '{print $7}' | sed 's/\?.*$//g' | grep -v -E "\.php|\.xml|http:|acme-challenge" | sed 's:\(.\)/$:\1:' | sort | uniq -c | sort -rn
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "$1" == "--today" ]; then
|
if [ "$1" == "--today" ]; then
|
||||||
|
|
|
@ -26,9 +26,11 @@ expand() {
|
||||||
<a href="/about">about</a>
|
<a href="/about">about</a>
|
||||||
<a href="/contact">contact</a>
|
<a href="/contact">contact</a>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="content">
|
||||||
EOF
|
EOF
|
||||||
cat
|
cat
|
||||||
cat <<-"EOF"
|
cat <<-"EOF"
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in a new issue