diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2024-03-27 23:36:55 -0600 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2024-03-27 23:36:55 -0600 |
commit | de19543d7fb44d343b052dc9b34ede78620c4a46 (patch) | |
tree | 47aab5afcb4d610553668f75f878770f5db25e20 /docs/posts/2020-12-1-HTML-JS-RSS-Feed.html | |
parent | cc60ec40e4b90e6041ed824c892a0319fad392ad (diff) |
Generate
Diffstat (limited to 'docs/posts/2020-12-1-HTML-JS-RSS-Feed.html')
-rw-r--r-- | docs/posts/2020-12-1-HTML-JS-RSS-Feed.html | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/docs/posts/2020-12-1-HTML-JS-RSS-Feed.html b/docs/posts/2020-12-1-HTML-JS-RSS-Feed.html index c0262ec..12f7e72 100644 --- a/docs/posts/2020-12-1-HTML-JS-RSS-Feed.html +++ b/docs/posts/2020-12-1-HTML-JS-RSS-Feed.html @@ -46,7 +46,7 @@ <div class="container sidebar-sticky"> <div class="sidebar-about"> <h1><a href="/">Navan</a></h1> - <p class="lead">Something Funny</p> + <p class="lead" id="random-lead">Alea iacta est.</p> </div> <ul class="sidebar-nav"> @@ -56,9 +56,21 @@ <li><a class="sidebar-nav-item" href="/feed.rss">RSS Feed</a></li> <li><a class="sidebar-nav-item" href="/colophon/">colophon</a></li> </ul> - <p>© 2024. All rights reserved. + <div class="copyright"><p>© 2019-2024. Navan Chauhan <br> <a href="/feed.rss">RSS</a></p></div> </div> </div> + +<script> +let phrases = [ + "Something Funny", "Veni, vidi, vici", "Alea iacta est", "In vino veritas", "Acta, non verba", "Castigat ridendo mores", + "Cui bono?", "Memento vivere", "अहम् ब्रह्मास्मि", "अनुगच्छतु प्रवाहं", "चरन्मार्गान्विजानाति", "coq de cheval", "我愛啤酒" + ]; + +let new_phrase = phrases[Math.floor(Math.random()*phrases.length)]; + +let lead = document.getElementById("random-lead"); +lead.innerText = new_phrase; +</script> <div class="content container"> <div class="post"> |