summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--files/latest.html3
-rw-r--r--update_latest.py2
2 files changed, 2 insertions, 3 deletions
diff --git a/files/latest.html b/files/latest.html
index c524e9a..7758e08 100644
--- a/files/latest.html
+++ b/files/latest.html
@@ -2,7 +2,7 @@
<body>
<h3>LATEST POSTS</h3>
<ul>
- <li><a href=/files/latest.html>files/latest.html</a> - Published: 2023-11-22</li>
+ <li><a href=/thoughts/txt/best-advice-i-got-from-a-professor.txt>thoughts/txt/best-advice-i-got-from-a-professor.txt</a> - Published: 2023-12-13</li>
<li><a href=/tutorials/splunk/i-found-out-splunk-macros-are-awesome.html>tutorials/splunk/i-found-out-splunk-macros-are-awesome.html</a> - Published: 2023-10-22</li>
<li><a href=/tutorials/pc_gaming/common-gfx-card-installation-woes.html>tutorials/pc_gaming/common-gfx-card-installation-woes.html</a> - Published: 2023-07-14</li>
<li><a href=/thoughts/txt/solution-to-social-media.txt>thoughts/txt/solution-to-social-media.txt</a> - Published: 2023-07-12</li>
@@ -11,7 +11,6 @@
<li><a href=/thoughts/txt/textfiles.com/zf04.txt>thoughts/txt/textfiles.com/zf04.txt</a> - Published: 2022-09-10</li>
<li><a href=/thoughts/txt/textfiles.com/break_into_your_site.txt>thoughts/txt/textfiles.com/break_into_your_site.txt</a> - Published: 2022-09-10</li>
<li><a href=/thoughts/txt/textfiles.com/balls.txt>thoughts/txt/textfiles.com/balls.txt</a> - Published: 2022-09-10</li>
- <li><a href=/thoughts/txt/textfiles.com/writers.txt>thoughts/txt/textfiles.com/writers.txt</a> - Published: 2022-09-10</li>
</ul>
</body>
</html>
diff --git a/update_latest.py b/update_latest.py
index 26bff62..3ee8bfc 100644
--- a/update_latest.py
+++ b/update_latest.py
@@ -38,7 +38,7 @@ for f, t in sorted(updates.items(),
key=lambda x: x[1],
reverse=True)[:10]:
#print(f, ctime(t), sep="\t")
- if f != "latest.html":
+ if "latest.html" not in f:
print(f"\t<li><a href=/{f}>{f.split()[-1]}</a> - Published: {date.fromtimestamp(t)}</li>")
print("</ul>")