diff --git a/README.org b/README.org index 9585ae5..20bce55 100644 --- a/README.org +++ b/README.org @@ -32,6 +32,7 @@ Python scripts to generate a mobile-friendly static site for tracking tcg cards - =maxmastered=: maximum number of most recently mastered decks to show on the index page - =ownedpage=: =True= if you want a page displaying your entire collection, =False= otherwise - =firstmasteries=: a list of decks you mastered first + - =misclink=: under ="link"=, a link to any page you choose, and under ~"text"~, text to display as the link - =masscollect=: list (python dict) of series/themes being mass collected, each containing a dict which specifies =“full”= as either =True= or =False= (to show or hide a list of the total number of cards in the set) and contains at least one of ="decks"= specifying a list of decks, or ="singles"= specifying a list of individual cards - Run the following: #+BEGIN_SRC bash diff --git a/indexgen.py b/indexgen.py index 6b1d39f..a3c92b8 100644 --- a/indexgen.py +++ b/indexgen.py @@ -131,7 +131,10 @@ def indexgen(): else: rank = "red" rankcode = re.sub(" ","",rank) - content.write("" + tcgcore.printcard("sig_" + variables.name.lower()) + "\n
" + firstdate.strftime("%Y-%m-%d") + "
" + datetime.datetime.today().strftime("%Y-%m-%d") + "
" + firstdate.strftime("%Y-%m-%d") + "
" + datetime.datetime.today().strftime("%Y-%m-%d") + "