Fix wrong permalinks for gsoc.cat-v.org/blog (this is a bit of a special case hack)
This commit is contained in:
parent
7f45595b8a
commit
6a104ad03f
@ -74,8 +74,9 @@ fn sortedBlogPostList {
|
||||
|
||||
fn blogTitle {
|
||||
title=`{basename $1 | sed 's/^[0-9\-]*_(.*)\.md$/\1/; s/_/ /g' }
|
||||
permlink= `{echo $1 | sed 's,^/[a-z/]*www/,/,; s,^sites/[^/]*/*/,/,; s/\.md$//' }
|
||||
du=`{ls -l $1}
|
||||
echo '##<a href="' `{echo $1 | sed 's,^sites/[^/]*/*/,/,; s/\.md$//' } '">' $"title^'</a> *('By $du(4) Last mod: $du(7 8 9) ')*'
|
||||
echo '##<a href="' $"permlink '">' $"title^'</a> *('By $du(4) Last mod: $du(7 8 9) ')*'
|
||||
}
|
||||
|
||||
# Body
|
||||
|
Loading…
Reference in New Issue
Block a user