Fix some small stuff
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
</header>
|
||||
|
||||
<ul>
|
||||
<li><a href="blog-020.html">2024-01-14 Pushing New Boundaries</a></li>
|
||||
<li><a href="blog-019.html">2023-12-01 Seeking New Paths</a></li>
|
||||
<li><a href="blog-018.html">2023-10-31 We Need More Motivation</a></li>
|
||||
<li><a href="blog-017.html">2023-03-29 New Year New Beginnings</a></li>
|
||||
|
@ -7,10 +7,11 @@ cd ../blog
|
||||
POSTNUM=$( ls -l content-* | wc -l )
|
||||
QUOTENUM=$( ls -l quote-* | wc -l )
|
||||
if [[ $POSTNUM -gt $QUOTENUM ]];then
|
||||
CURRNUM=$POSTNUM
|
||||
NUM=$POSTNUM
|
||||
else
|
||||
CURRNUM=$QUOTENUM
|
||||
NUM=$QUOTENUM
|
||||
fi
|
||||
CURRNUM=$(( $NUM -2 ))
|
||||
|
||||
# Create post and quote from template
|
||||
NEWPOSTNAME="content-$(printf %03d "$CURRNUM")"
|
||||
|
Reference in New Issue
Block a user