diff --git a/gencode.py b/gencode.py index 4e23d64..acaed2d 100644 --- a/gencode.py +++ b/gencode.py @@ -4,7 +4,7 @@ titleDF = pd.read_csv("title.csv") linksDF = pd.read_csv("links.csv") html = open("index.html", "w") -html.write("\n\n\n\tYour Links\n\t\n\t\n\t\n\n\n") +html.write(f"\n\n\n\t{titleDF['title'][0]}\n\t\n\t\n\t\n\n\n") html.write(f"\n\t

{titleDF['description'][0]}

\n
\n") for i,x in linksDF.iterrows(): html.write(f"
\n\n\t
\n\t
\n") diff --git a/index.html b/index.html index 53b8791..f177c18 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ - Your Links + Your Title diff --git a/title.csv b/title.csv index af4eaad..3705e1b 100644 --- a/title.csv +++ b/title.csv @@ -1,2 +1,2 @@ -description,logo -Add here a description for people using this links,logo.png +description,logo,title +Add here a description for people using this links,logo.png,Your Title