Skip to content

Commit beb9c3d

Browse files
committed
converted to using docs instead of public folder
1 parent 39a08dc commit beb9c3d

File tree

15 files changed

+232
-36
lines changed

15 files changed

+232
-36
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
public/
2-
31
# Byte-compiled / optimized / DLL files
42
__pycache__/
53
*.py[codz]

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python3 src/main.py "/static-site-generator/"

docs/blog/glorfindel/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1" />
6+
<title>Why Glorfindel is More Impressive than Legolas</title>
7+
<link href="{basepath}index.css" rel="stylesheet" />
8+
</head>
9+
10+
<body>
11+
<article><div><h1>Why Glorfindel is More Impressive than Legolas</h1><p><a href="{basepath}">< Back Home</a></p><p><img src="{basepath}images/glorfindel.png" alt="Glorfindel image"></p><blockquote>"The deeds of Glorfindel shine bright as the morning sun, whilst the feats of others are as the flickering of stars in the night sky."</blockquote><p>In J.R.R. Tolkien's legendarium, characterized by its rich tapestry of noble heroes and epic deeds, two Elven luminaries stand out: <b>Glorfindel</b>, the stalwart warrior returned from the Halls of Mandos, and <b>Legolas</b>, the prince of the Woodland Realm. While both possess grace and valor beyond mortal ken, it is Glorfindel who emerges as the more compelling figure, a beacon of heroism whose legacy spans ages.</p><h2>Introduction</h2><p>With my many years as an <b>Archmage</b>, delving into ancient tomes and consulting the wisdom of the stars, I have come to appreciate the dazzling tapestry of Middle-earth and its storied inhabitants. Among them, Glorfindel stands resplendent, his narrative a testament to resilience and might. As we unravel the threads of his tale, let us explore the reasons why this Elf-lord is more impressive than his Woodland counterpart.</p><h2>A Hero of Great Renown</h2><h3>The Battle with the Balrog</h3><p>While Legolas is famed for his prowess with a bow and his agility upon the battlefield, it is Glorfindel who etched his name into the annals of history with his legendary battle against a Balrog of Morgoth—an encounter both fearsome and fateful:</p><ol><li><b>A Noble Sacrifice</b>: In the ancient tales of Gondolin, it was Glorfindel who faced off against the fiery terror during the city's fall, sacrificing himself to secure his people's escape.</li><li><b>A Victory Remembered</b>: Even in death, his victory was marked by valor, as he vanquished the Balrog in an epic struggle, ultimately earning a place of honor in the Undying Lands.</li></ol><h2>A Beacon of Power and Wisdom</h2><h3>Return from the Undying Lands</h3><p>Unlike Legolas, whose journey begins in the Third Age, Glorfindel's saga spans millennia, demonstrating his integral role in the grand design of the Eldar and Valar:</p><ul><li><b>The Gift of Rebirth</b>: Glorfindel's return to Middle-earth after his heroic demise is a profound testament to his worth, as the Valar saw fit to restore him to life, laden with greater wisdom and power.</li><li><b>The Role of a Guide</b>: Serving as an advisor and protector in Rivendell, his presence provided not only counsel but a formidable bulwark against dark forces.</li></ul><pre><code>print("Glorfindel")
12+
print("the")
13+
print("Balrog-Slayer")
14+
</code></pre><h2>The Essence of Elven Might</h2><h3>A Paragon of Strength</h3><p>While Legolas enchants with his feats, Glorfindel embodies the quintessential strength and dignity of the Eldar, a figure whose very presence commands respect:</p><ul><li><b>Elven Majesty</b>: Renowned for his radiant aura and golden hair, Glorfindel is described as exuding an aura of light akin to the Valar, a stark contrast to the stealthy, sylvan skill of Thranduil's son.</li><li><b>Fearless Leadership</b>: His leadership during times of strife underscores a dedication to duty and an unwavering resolve—a guiding light for both Elves and Men.</li></ul><h2>Themes of <b>Enduring</b> Legacy</h2><h3>An Impact on the Ages</h3><p>Though Legolas's deeds are celebrated, Glorfindel's influence is woven directly into the vast narrative of Middle-earth—a bridge connecting its ancient past to its perilous future:</p><ul><li><b>A Historical Touchstone</b>: His legacy casts long shadows over pivotal events, reinforcing the enduring themes of sacrifice and rebirth that resonate throughout the legendarium.</li><li><b>A Luminary of Legend</b>: Respected and revered in songs, his tale remains an inspiration, an immortal testament to courage—a rarity that transcends time.</li></ul><h2>Conclusion</h2><p>As we traverse the storied paths of Middle-earth, it becomes clear that while Legolas presents an appealing portrait of Elven grace, it is Glorfindel who embodies the very essence of heroism in Tolkien's world. His narrative transcends the ages, shining with a brilliance that stands unchallenged by the temporal feats of his peers. As an Archmage who has walked the hallowed halls of history, I assert with unyielding certainty that Glorfindel, the eternal light in the shadowed lands of legend, stands as the more impressive. His story, unparalleled and majestic, continues to inspire those who venture into the realms of fantasy and dare to dream of a time when such heroes strode the Earth.</p><p>Thus, in the grand council of Middle-earth's champions, let us recognize Glorfindel as a paragon whose legacy remains untarnished—a testament to the timeless grandeur of Tolkien's creation.</p></div></article>
15+
</body>
16+
</html>

docs/blog/majesty/index.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1" />
6+
<title>The Unparalleled Majesty of "The Lord of the Rings"</title>
7+
<link href="{basepath}index.css" rel="stylesheet" />
8+
</head>
9+
10+
<body>
11+
<article><div><h1>The Unparalleled Majesty of "The Lord of the Rings"</h1><p><a href="{basepath}">< Back Home</a></p><p><img src="{basepath}images/rivendell.png" alt="LOTR image artistmonkeys"></p><blockquote>"I cordially dislike allegory in all its manifestations, and always have done so since I grew old and wary enough to detect its presence.
12+
I much prefer history, true or feigned, with its varied applicability to the thought and experience of readers.
13+
I think that many confuse 'applicability' with 'allegory'; but the one resides in the freedom of the reader, and the other in the purposed domination of the author."</blockquote><p>In the annals of fantasy literature and the broader realm of creative world-building, few sagas can rival the intricate tapestry woven by J.R.R. Tolkien in <i>The Lord of the Rings</i>. You can find the <a href="https://lotr.fandom.com/wiki/Legendarium">wiki here</a></p><h2>Introduction</h2><p>This series, a cornerstone of what I, in my many years as an <b>Archmage</b>, have come to recognize as the pinnacle of imaginative creation, stands unrivaled in its depth, complexity, and the sheer scope of its <i>legendarium</i>. As we embark on this exploration, let us delve into the reasons why this monumental work is celebrated as the finest in the world.</p><h2>A Rich Tapestry of Lore</h2><p>One cannot simply discuss <i>The Lord of the Rings</i> without acknowledging the bedrock upon which it stands: <b>The Silmarillion</b>. This compendium of mythopoeic tales sets the stage for Middle-earth's history, from the creation myth of Eä to the epic sagas of the Elder Days. It is a testament to Tolkien's unparalleled skill as a linguist and myth-maker, crafting:</p><ol><li>An elaborate pantheon of deities (the <code>Valar</code> and <code>Maiar</code>)</li><li>The tragic saga of the Noldor Elves</li><li>The rise and fall of great kingdoms such as Gondolin and Númenor</li></ol><pre><code>print("Lord")
14+
print("of")
15+
print("the")
16+
print("Rings")
17+
</code></pre><h2>The Art of <b>World-Building</b></h2><h3>Crafting Middle-earth</h3><p>Tolkien's Middle-earth is a realm of breathtaking diversity and realism, brought to life by his meticulous attention to detail. This world is characterized by:</p><ul><li><b>Diverse Cultures and Languages</b>: Each race, from the noble Elves to the sturdy Dwarves, is endowed with its own rich history, customs, and language. Tolkien, leveraging his expertise in philology, constructed languages such as Quenya and Sindarin, each with its own grammar and lexicon.</li><li><b>Geographical Realism</b>: The landscape of Middle-earth, from the Shire's pastoral hills to the shadowy depths of Mordor, is depicted with such vividness that it feels as tangible as our own world.</li><li><b>Historical Depth</b>: The legendarium is imbued with a sense of history, with ruins, artifacts, and lore that hint at bygone eras, giving the world a lived-in, authentic feel.</li></ul><h2>Themes of <i>Timeless</i> Relevance</h2><h3>The <i>Struggle</i> of Good vs. Evil</h3><p>At its heart, <i>The Lord of the Rings</i> is a timeless narrative of the perennial struggle between light and darkness, a theme that resonates deeply with the human experience. The saga explores:</p><ul><li>The resilience of the human (and hobbit) spirit in the face of overwhelming odds</li><li>The corrupting influence of power, epitomized by the One Ring</li><li>The importance of friendship, loyalty, and sacrifice</li></ul><p>These universal themes lend the series a profound philosophical depth, making it a beacon of wisdom and insight for generations of readers.</p><h2>A Legacy <b>Unmatched</b></h2><h3>The Influence on Modern Fantasy</h3><p>The shadow that <i>The Lord of the Rings</i> casts over the fantasy genre is both vast and deep, having inspired countless authors, artists, and filmmakers. Its legacy is evident in:</p><ul><li>The archetypal "hero's journey" that has become a staple of fantasy narratives</li><li>The trope of the "fellowship," a diverse group banding together to face a common foe</li><li>The concept of a richly detailed fantasy world, which has become a benchmark for the genre</li></ul><h2>Conclusion</h2><p>As we stand at the threshold of this mystical realm, it is clear that <i>The Lord of the Rings</i> is not merely a series but a gateway to a world that continues to enchant and inspire. It is a beacon of imagination, a wellspring of wisdom, and a testament to the power of myth. In the grand tapestry of fantasy literature, Tolkien's masterpiece is the gleaming jewel in the crown, unmatched in its majesty and enduring in its legacy. As an Archmage who has traversed the myriad realms of magic and lore, I declare with utmost conviction: <i>The Lord of the Rings</i> reigns supreme as the greatest legendarium our world has ever known.</p><p>Splendid! Then we have an accord: in the realm of fantasy and beyond, Tolkien's creation is unparalleled, a treasure trove of wisdom, wonder, and the indomitable spirit of adventure that dwells within us all.</p></div></article>
18+
</body>
19+
</html>

docs/blog/tom/index.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1" />
6+
<title>Why Tom Bombadil Was a Mistake</title>
7+
<link href="{basepath}index.css" rel="stylesheet" />
8+
</head>
9+
10+
<body>
11+
<article><div><h1>Why Tom Bombadil Was a Mistake</h1><p><a href="{basepath}">< Back Home</a></p><p><img src="{basepath}images/tom.png" alt="Tom Bombadil image"></p><blockquote>"Old Tom Bombadil is a merry fellow; bright blue his jacket is, and his boots are yellow. Alas, his merry song may not belong in this plot's prolonged confluence."</blockquote><p>In the vast and intricate weave of J.R.R. Tolkien's legendarium, amidst heroes of renown and tales of high adventure, there exists a curious anomaly: Tom Bombadil. This peculiar figure, whimsical and unfettered by the weight of Middle-earth's burdens, has long been a point of contention among scholars and enthusiasts. While his character exudes charm and mystery, I, as an ancient <b>Archmage</b>, must assert that his inclusion in <i>The Lord of the Rings</i> was, unfortunately, a narrative misstep.</p><p><i>An unpopular opinion, I know.</i></p><h2>Introduction</h2><p>Having traversed the corridors of Tolkien's sprawling world, immersed in its lore, I have come to understand the impact of cohesion and momentum in storytelling. Thus, I find myself compelled to examine Tom Bombadil's role and question the necessity of his presence within the epic saga. As we embark on this critical inquiry, let us consider the reasons why Old Tom's playful presence may be seen as a disruptive force.</p><h2>An Intriguing Yet Disjointed Figure</h2><h3>A Divergence from Narrative Flow</h3><p>Tolkien's epic is known for its meticulous pacing and the gravity of its themes. Enter Tom Bombadil—a character whose frivolity and detachment from worldly events create a jarring contrast within the otherwise cohesive narrative:</p><ol><li><b>An Unnecessary Interlude</b>: The encounter with Tom, while quaint and endearing, serves as a temporal diversion that detracts from the urgency of the Fellowship's quest.</li><li><b>An Outlier in Purpose</b>: His escapades, while rich in mirth, add little to the central narrative, raising questions about their relevance in the grand design of Middle-earth.</li></ol><h2>An Enigma that Remains Unresolved</h2><h3>A Break from Coherence</h3><p>In a tale defined by intricate connections and deeply rooted mythology, Bombadil's inexplicable nature poses a challenge to the narrative's internal logic:</p><ul><li><b>A Mystery Without Resolution</b>: Unlike other enigmatic figures whose backstories enrich the tapestry, Tom remains enigmatic, shrouded in mystery that neither advances the plot nor deepens the lore.</li><li><b>A Departure from Tone</b>: His presence, filled with lighthearted songs and whimsical antics, contrasts sharply with the solemnity and tension that define the rest of the saga.</li></ul><pre><code>print("Tom")
12+
print("Bombadil")
13+
print("A")
14+
print("Mystery")
15+
</code></pre><h2>A Theme of <b>Disruption</b></h2><h3>An Element of Distraction</h3><p>Tom Bombadil's inclusion inadvertently shifts focus from the pressing matters of Middle-earth, introducing themes that sit uneasily with the narrative's core:</p><ul><li><b>A Shift in Focus</b>: His carefree demeanor and ability to withhold the power of the One Ring, while intriguing, distract from the overarching themes of sacrifice and moral complexity.</li><li><b>A Misstep in Continuity</b>: His segment, charming as it may be, disrupts the journey's continuous build-up towards the looming confrontation with darkness.</li></ul><h2>Conclusion</h2><p>As we ponder the manifold wonders and intricacies of Tolkien's world, it is evident that Tom Bombadil, while delightfully unique, was a narrative anomaly—a whimsical reflection in the mirror of Middle-earth's grand narrative. While his character captivates with a certain mystique, it answers questions that were never asked, leaving readers with more enigmas than revelations.</p><p>In conclusion, as one who has explored the mythic past of Middle-earth and sought coherence in its storied legacy, I propose that Tom Bombadil, for all his merriment and enigma, was a divergence from the tale's destined path—a curiosity that, while endearing to some, stands as a reminder that even in the most meticulously crafted worlds, not all paths lead to the fulfillment of the quest.</p><p>Thus, let us bid farewell to Old Tom with a final song, recognizing both his charm and the discord his presence sowed. For within the hallowed pages of Tolkien's masterpiece, every beat must resonate with purpose, lest the harmony of the tale be lost to idle whimsy.</p></div></article>
16+
</body>
17+
</html>

docs/contact/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1" />
6+
<title>Contact the Author</title>
7+
<link href="{basepath}index.css" rel="stylesheet" />
8+
</head>
9+
10+
<body>
11+
<article><div><h1>Contact the Author</h1><p><a href="{basepath}">< Back Home</a></p><p>Give me a call anytime to chat about Tolkien!</p><p><code>555-555-5555</code></p><p><b>"Váya márië."</b></p></div></article>
12+
</body>
13+
</html>

docs/images/glorfindel.png

429 KB
Loading

docs/images/rivendell.png

1.39 MB
Loading

docs/images/tolkien.png

663 KB
Loading

docs/images/tom.png

500 KB
Loading

0 commit comments

Comments
 (0)