Feed entries are now marked in bold instead of cursive.
Also removed the [0] after updated feed titles.
This commit is contained in:
parent
d8cf74a65e
commit
a0f299be21
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ do
|
||||||
if [ "$time" -gt "$curr" ]
|
if [ "$time" -gt "$curr" ]
|
||||||
then
|
then
|
||||||
news=$(($news + 1))
|
news=$(($news + 1))
|
||||||
lines+=("$(echo $line | sed -e 's/^\( *\)- *\(.*\)$/\1- \*\2\*/')")
|
lines+=("$(echo $line | sed -e 's/^\( *\)- *\(.*\)$/\1- \*\*\2\*\*/')")
|
||||||
else
|
else
|
||||||
lines+=("$line")
|
lines+=("$line")
|
||||||
fi
|
fi
|
||||||
|
@ -37,7 +37,7 @@ done < $file
|
||||||
|
|
||||||
if [ "$news" -gt "0" ]
|
if [ "$news" -gt "0" ]
|
||||||
then
|
then
|
||||||
lines[0]=`echo "$lines[0]" | sed -e "s/^#\(#*\) *\(.*\)$/#\1 \*\2 ($news)\*/"`
|
lines[0]=`echo "$lines" | sed -e "s/^#\(#*\) *\(.*\)$/#\1 \*\*\2 ($news)\*\*/"`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for line in "${lines[@]}"
|
for line in "${lines[@]}"
|
||||||
|
|
Loading…
Reference in a new issue