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\n") + content.write("" + tcgcore.printcard("sig_" + variables.name.lower()) + "\n\n") crayred = 0 crayorange = 0 crayyellow = 0 diff --git a/variables-template.py b/variables-template.py index 561d09d..d3a421a 100644 --- a/variables-template.py +++ b/variables-template.py @@ -14,4 +14,6 @@ tradestatement = "" maxmastered = 20 ownedpage = False firstmasteries = ["deckname","nameofdeck"] +misclink = {"link":"","text":""} +donations = {"decks":[],"scrapbook":[]} masscollect = {"series":{"full":True,"decks":["firstdeck","seconddeck"],"singles":["card01","card02"]}}