feat: add introduction
This commit is contained in:
7
content/_index.md
Normal file
7
content/_index.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
title: "From Shankha, Daemonlord"
|
||||
---
|
||||
|
||||
The Daemon Lord is a being of profound observation, a scholar of both scientific principles and the world's deep-seated emotions. He seeks to understand the fundamental truths of existence by seeing, listening, and feeling the intricate tapestry of reality, transforming every phenomenon into a subject of study. In stark contrast, many greedy men defy this pursuit of knowledge. Driven by a lust for power and personal greatness, they reject scientific truth and embrace delusion. These individuals weave their own fantasies, inventing supreme beings and false narratives to control others and elevate themselves. They lie and manipulate, all to fill the empty cracks within their own human nature, seeking to satisfy a greed that can never be quenched.
|
||||
|
||||
Ultimately, the Daemon Lord stands as a silent judge, not of morality, but of reality itself. His purpose is not to rule or command, but simply to comprehend. In a world clouded by the fog of human ambition and self-deceit, he remains the unwavering lens through which the universe's true form can be discerned.
|
||||
36
hugo.toml
36
hugo.toml
@@ -2,3 +2,39 @@ baseURL = 'https://example.org/'
|
||||
languageCode = 'en-us'
|
||||
title = 'Daemon Lord'
|
||||
theme = 'terminal'
|
||||
copyright = "© 2025 Daemonlord"
|
||||
|
||||
[params]
|
||||
contentTypeName = 'posts'
|
||||
showMenuItems = 5
|
||||
showLanguageSelector = true
|
||||
showFooter = true
|
||||
fullWidthTheme = true
|
||||
centerTheme = true
|
||||
showLastUpdated = true
|
||||
|
||||
[languages]
|
||||
[languages.en]
|
||||
languageName = 'English'
|
||||
title = "Daemonlord"
|
||||
|
||||
[languages.en.params]
|
||||
menuMore = 'Show more'
|
||||
readMore = 'Read more'
|
||||
|
||||
[languages.en.params.logo]
|
||||
logoText = 'Daemon Lord'
|
||||
logoHomeLink = '/'
|
||||
|
||||
[languages.en.menu]
|
||||
[[languages.en.menu.main]]
|
||||
identifier = 'home'
|
||||
name = 'Home'
|
||||
url = '/'
|
||||
weight = 1
|
||||
|
||||
# [[languages.en.menu.main]]
|
||||
# identifier = 'posts'
|
||||
# name = 'Posts'
|
||||
# url = '/posts'
|
||||
# weight = 2
|
||||
|
||||
38
layouts/index.html
Normal file
38
layouts/index.html
Normal file
@@ -0,0 +1,38 @@
|
||||
{{ define "main" }}
|
||||
<section>
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
</section>
|
||||
|
||||
{{ $posts := sort (where .Site.RegularPages "Type" "posts") "Date" "desc" }}
|
||||
{{ if gt (len $posts) 0 }}
|
||||
<hr>
|
||||
|
||||
<section>
|
||||
<h2>Latest Posts</h2>
|
||||
|
||||
{{ $paginator := .Paginate $posts 5 }}
|
||||
<ul>
|
||||
{{ range $paginator.Pages }}
|
||||
<li>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
<small>({{ .Date.Format "Jan 2, 2006" }})</small>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
<!-- Pagination controls -->
|
||||
{{ if or $paginator.HasPrev $paginator.HasNext }}
|
||||
<nav class="pagination">
|
||||
{{ if $paginator.HasPrev }}
|
||||
<a href="{{ $paginator.Prev.URL }}">← Newer</a>
|
||||
{{ end }}
|
||||
{{ if $paginator.HasNext }}
|
||||
<a href="{{ $paginator.Next.URL }}">Older →</a>
|
||||
{{ end }}
|
||||
</nav>
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
23
layouts/partials/footer.html
Normal file
23
layouts/partials/footer.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<footer class="footer">
|
||||
<div class="footer__inner">
|
||||
{{ if $.Site.Copyright }}
|
||||
<div class="copyright copyright--user">
|
||||
<span>{{ $.Site.Copyright | safeHTML }}</span>
|
||||
{{ else }}
|
||||
<div class="copyright">
|
||||
<span>© {{ now.Year }} Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{{ $menu := resources.Get "js/menu.js" | js.Build }}
|
||||
{{ $cp := resources.Get "js/code.js" | js.Build }}
|
||||
|
||||
{{ $bundle := slice $menu $cp | resources.Concat "bundle.js" | resources.Minify }}
|
||||
|
||||
<script type="text/javascript" src="{{ $bundle.RelPermalink }}"></script>
|
||||
|
||||
<!-- Extended footer section-->
|
||||
{{ partial "extended_footer.html" . }}
|
||||
|
||||
Reference in New Issue
Block a user