Remove links to dead fedi posts, add header for improved fediverse discoverability
This commit is contained in:
parent
4ca740c07c
commit
2c877c77e2
3 changed files with 11 additions and 8 deletions
|
@ -103,10 +103,10 @@ def linkgen(ficno,output="output.html",local=False):
|
|||
except:
|
||||
pass
|
||||
# write fedi share link if there is one
|
||||
try:
|
||||
filewrite.write("<li><a href=\"https://ple.praze.net/notice/" + fileread.fedislug + "\">fedi</a></li>\n")
|
||||
except:
|
||||
pass
|
||||
# try:
|
||||
# filewrite.write("<li><a href=\"https://ple.praze.net/notice/" + fileread.fedislug + "\">fedi</a></li>\n")
|
||||
# except:
|
||||
# pass
|
||||
# determine if comments page
|
||||
if any(item in fffandoms for item in fileread.fandom):
|
||||
filewrite.write("<li class=\"prazelink\"><a href=\"")
|
||||
|
@ -295,7 +295,7 @@ def ficgen(ficno,unique=False,output="output.html",local=False,single=False):
|
|||
if local:
|
||||
filewrite.write("/home/mdd/Documents/proj/fic-archive/build/single/" + ficnostring + "/index.html")
|
||||
else:
|
||||
filewrite.write("/fic/single/" + ficnostring)
|
||||
filewrite.write("/fic/single/" + ficnostring + "/")
|
||||
filewrite.write("\">" + ficnostring + "</a>")
|
||||
try:
|
||||
if translationstring:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue