add first 10 articles + some style to the index page
This commit is contained in:
parent
e456d6ff53
commit
92cb97c6fe
6 changed files with 95 additions and 50 deletions
|
@ -12,6 +12,9 @@ description: "A blog about the things I'm interested in - Japanese and posting o
|
||||||
|
|
||||||
### [Library](/library)
|
### [Library](/library)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
You can contact me by email **contact@[site name]**
|
You can contact me by email **contact@[site name]**
|
||||||
|
@ -20,3 +23,6 @@ You can contact me by email **contact@[site name]**
|
||||||
{{< img src=/img/wip.gif alt="Work in progress" link="https://www.youtube.com/watch?v=dQw4w9WgXcQ" target="_blank">}}
|
{{< img src=/img/wip.gif alt="Work in progress" link="https://www.youtube.com/watch?v=dQw4w9WgXcQ" target="_blank">}}
|
||||||
|
|
||||||
{{% /center %}}
|
{{% /center %}}
|
||||||
|
|
||||||
|
### Recent posts:
|
||||||
|
{{% 10_recent_posts %}}
|
|
@ -33,6 +33,35 @@
|
||||||
<p>You can contact me by email <strong>contact@[site name]</strong></p>
|
<p>You can contact me by email <strong>contact@[site name]</strong></p>
|
||||||
<figure ><a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ"><img src="/img/wip.gif" alt="Work in progress"></a></figure>
|
<figure ><a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ"><img src="/img/wip.gif" alt="Work in progress"></a></figure>
|
||||||
</div>
|
</div>
|
||||||
|
<h3 id="recent-posts">Recent posts: <a class="anchor" href="#recent-posts">
|
||||||
|
<span class="spanForHeader">#</span>
|
||||||
|
</a></h3><ul>
|
||||||
|
<li style="padding-top: 10px;">
|
||||||
|
<span style="color: rgb(255, 255, 255);"><time datetime="2023-04-01T14:48:01+03:00">2023 Apr 01</time> – <a href="/library/ted-kaczynski/ship-of-fools/" style="color: white;"><b>Ship of Fools</b></a> - <span style="color:rgb(179, 182, 186)">Once upon a time, the captain and the mates of a ship grew so vain of their seamanship, so full of hubris and so impressed with themselves, that they …</span> <em>(11 minutes read).</em> <a href="/library/ted-kaczynski/ship-of-fools/">Read more</a></li>
|
||||||
|
<li style="padding-top: 10px;">
|
||||||
|
<span style="color: rgb(255, 255, 255);"><time datetime="2023-04-01T14:46:30+03:00">2023 Apr 01</time> – <a href="/library/ted-kaczynski/the-long-term-outcome-of-geo-engineering/" style="color: white;"><b>The Long Term Outcome of Geo Engineering</b></a> - <span style="color:rgb(179, 182, 186)">In 2009, a correspondent asked me whether I thought nuclear weapons were the most dangerous aspect of modern technology. What follows is my reply, …</span> <em>(4 minutes read).</em> <a href="/library/ted-kaczynski/the-long-term-outcome-of-geo-engineering/">Read more</a></li>
|
||||||
|
<li style="padding-top: 10px;">
|
||||||
|
<span style="color: rgb(255, 255, 255);"><time datetime="2023-04-01T14:45:00+03:00">2023 Apr 01</time> – <a href="/library/ted-kaczynski/ecofascism-an-aberrant-branch-of-leftism/" style="color: white;"><b>Ecofascism an Aberrant Branch of Leftism</b></a> - <span style="color:rgb(179, 182, 186)">The “ecofascists,” as I understand that term, share, at a minimum, two traits:
|
||||||
|
They do not advocate total rejection of modern technology; instead, …</span> <em>(4 minutes read).</em> <a href="/library/ted-kaczynski/ecofascism-an-aberrant-branch-of-leftism/">Read more</a></li>
|
||||||
|
<li style="padding-top: 10px;">
|
||||||
|
<span style="color: rgb(255, 255, 255);"><time datetime="2023-04-01T14:37:31+03:00">2023 Apr 01</time> – <a href="/library/ted-kaczynski/the-road-to-revolution/" style="color: white;"><b>The Road to Revolution</b></a> - <span style="color:rgb(179, 182, 186)">The revolution is not a dinner party…
|
||||||
|
– Mao Zedong1
|
||||||
|
A great revolution is brewing. What this means is that the necessary preconditions for …</span> <em>(12 minutes read).</em> <a href="/library/ted-kaczynski/the-road-to-revolution/">Read more</a></li>
|
||||||
|
<li style="padding-top: 10px;">
|
||||||
|
<span style="color: rgb(255, 255, 255);"><time datetime="2023-04-01T14:34:31+03:00">2023 Apr 01</time> – <a href="/library/ted-kaczynski/the-truth-about-primitive-life-a-critique-of-anarchoprimitivism/" style="color: white;"><b>The Truth About Primitive Life a Critique of Anarchoprimitivism</b></a> - <span style="color:rgb(179, 182, 186)">The Truth About Primitive Life a Critique of Anarchoprimitivism #
1. #
As the Industrial Revolution proceeded, modern society created for itself a …</span> <em>(107 minutes read).</em> <a href="/library/ted-kaczynski/the-truth-about-primitive-life-a-critique-of-anarchoprimitivism/">Read more</a></li>
|
||||||
|
<li style="padding-top: 10px;">
|
||||||
|
<span style="color: rgb(255, 255, 255);"><time datetime="2023-04-01T14:32:25+03:00">2023 Apr 01</time> – <a href="/library/ted-kaczynski/when-non-violence-is-suicide/" style="color: white;"><b>When Non-Violence Is Suicide</b></a> - <span style="color:rgb(179, 182, 186)">It’s the autumn of 2025 AD. The technoindustrial system fell apart a year ago, but you and your friends are doing alright. Your garden has flourished …</span> <em>(5 minutes read).</em> <a href="/library/ted-kaczynski/when-non-violence-is-suicide/">Read more</a></li>
|
||||||
|
<li style="padding-top: 10px;">
|
||||||
|
<span style="color: rgb(255, 255, 255);"><time datetime="2023-04-01T14:24:10+03:00">2023 Apr 01</time> – <a href="/library/ted-kaczynski/why-the-technological-system-will-destroy-itself/" style="color: white;"><b>Why the Technological System Will Destroy Itself</b></a> - <span style="color:rgb(179, 182, 186)">I. #
Our discussion deals with self-propagating systems. By a self-propagating system (‘self-prop system’ for short) we mean a system that tends to …</span> <em>(33 minutes read).</em> <a href="/library/ted-kaczynski/why-the-technological-system-will-destroy-itself/">Read more</a></li>
|
||||||
|
<li style="padding-top: 10px;">
|
||||||
|
<span style="color: rgb(255, 255, 255);"><time datetime="2023-03-23T18:06:34+02:00">2023 Mar 23</time> – <a href="/library/ted-kaczynski/industrial-society-and-its-future/" style="color: white;"><b>Industrial Society and Its Future </b></a> - <span style="color:rgb(179, 182, 186)">Introduction #
The Industrial Revolution and its consequences have been a disaster for the human race. They have greatly increased the life expectancy …</span> <em>(159 minutes read).</em> <a href="/library/ted-kaczynski/industrial-society-and-its-future/">Read more</a></li>
|
||||||
|
<li style="padding-top: 10px;">
|
||||||
|
<span style="color: rgb(255, 255, 255);"><time datetime="2023-01-12T21:34:30+02:00">2023 Jan 12</time> – <a href="/blog/recover-lost-anki-streak/" style="color: white;"><b>Recover Lost Anki Streak</b></a> - <span style="color:rgb(179, 182, 186)">How to recover a lost anki streak #
Word for word copy paste of what fixed my issue. Original post
|
||||||
|
btw i had to create a seperate Custom Study for …</span> <em>(1 minutes read).</em> <a href="/blog/recover-lost-anki-streak/">Read more</a></li>
|
||||||
|
<li style="padding-top: 10px;">
|
||||||
|
<span style="color: rgb(255, 255, 255);"><time datetime="2023-01-04T22:52:24+02:00">2023 Jan 04</time> – <a href="/blog/meta-description-in-hugo/" style="color: white;"><b>Meta Description in Hugo</b></a> - <span style="color:rgb(179, 182, 186)">Adding meta description in Hugo #
I assume you are using Luke Smith’s theme - Lugo, if you are not, you’d have to find these files …</span> <em>(1 minutes read).</em> <a href="/blog/meta-description-in-hugo/">Read more</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<br><br>
|
<br><br>
|
||||||
|
@ -40,7 +69,7 @@
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<a href="https://vodoraslo.xyz/">Homepage</a><br><br><a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
|
<br><br><a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -22,9 +22,6 @@
|
||||||
<li><time datetime="2023-04-01T14:45:00+03:00">2023 Apr 01</time> – <a href="/library/ted-kaczynski/ecofascism-an-aberrant-branch-of-leftism/">Ecofascism an Aberrant Branch of Leftism</a></li>
|
<li><time datetime="2023-04-01T14:45:00+03:00">2023 Apr 01</time> – <a href="/library/ted-kaczynski/ecofascism-an-aberrant-branch-of-leftism/">Ecofascism an Aberrant Branch of Leftism</a></li>
|
||||||
<li><time datetime="2023-04-01T14:37:31+03:00">2023 Apr 01</time> – <a href="/library/ted-kaczynski/the-road-to-revolution/">The Road to Revolution</a></li>
|
<li><time datetime="2023-04-01T14:37:31+03:00">2023 Apr 01</time> – <a href="/library/ted-kaczynski/the-road-to-revolution/">The Road to Revolution</a></li>
|
||||||
<li><time datetime="2023-04-01T14:34:31+03:00">2023 Apr 01</time> – <a href="/library/ted-kaczynski/the-truth-about-primitive-life-a-critique-of-anarchoprimitivism/">The Truth About Primitive Life a Critique of Anarchoprimitivism</a></li>
|
<li><time datetime="2023-04-01T14:34:31+03:00">2023 Apr 01</time> – <a href="/library/ted-kaczynski/the-truth-about-primitive-life-a-critique-of-anarchoprimitivism/">The Truth About Primitive Life a Critique of Anarchoprimitivism</a></li>
|
||||||
<li><time datetime="2023-04-01T14:32:25+03:00">2023 Apr 01</time> – <a href="/library/ted-kaczynski/when-non-violence-is-suicide/">When Non-Violence Is Suicide</a></li>
|
|
||||||
<li><time datetime="2023-04-01T14:24:10+03:00">2023 Apr 01</time> – <a href="/library/ted-kaczynski/why-the-technological-system-will-destroy-itself/">Why the Technological System Will Destroy Itself</a></li>
|
|
||||||
<li><time datetime="2023-03-23T18:06:34+02:00">2023 Mar 23</time> – <a href="/library/ted-kaczynski/industrial-society-and-its-future/">Industrial Society and Its Future </a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
</main>
|
</main>
|
||||||
{{ block "footer" . }}
|
{{ block "footer" . }}
|
||||||
<footer>
|
<footer>
|
||||||
<a href="{{ .Site.BaseURL }}">Homepage</a>
|
{{ if not .IsHome}}<a href="{{ .Site.BaseURL }}">Homepage</a>{{end -}}
|
||||||
{{- if .Param "showrss" }}<br><br><a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>{{ end }}
|
{{- if .Param "showrss" }}<br><br><a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>{{ end }}
|
||||||
</footer>
|
</footer>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
{{ define "main" -}}
|
{{ define "main" -}}
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
<ul>
|
<ul>
|
||||||
{{- range.Pages }}
|
{{- range first 5 .Pages }}
|
||||||
<li>
|
<li>
|
||||||
{{- if .Param "datesinlist" }}<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 02" }}</time> – {{ end -}}
|
{{- if .Param "datesinlist" }}<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 02" }}</time> – {{ end -}}
|
||||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||||
|
|
13
new-site/themes/lugo/layouts/shortcodes/10_recent_posts.html
Normal file
13
new-site/themes/lugo/layouts/shortcodes/10_recent_posts.html
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<ul>
|
||||||
|
{{- range first 10 .Site.RegularPages }}
|
||||||
|
<li style="padding-top: 10px;">
|
||||||
|
<span style="color: rgb(255, 255, 255);">{{- if .Param "datesinlist" }}<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 02" }}</time> – {{ end -}}
|
||||||
|
<a href="{{ .RelPermalink }}" style="color: white;"><b>{{ .Title }}</b></a> - <span style="color:rgb(179, 182, 186)">{{.Summary | truncate 150 | markdownify}}</span> <em>({{.ReadingTime}} minutes read).</em> <a href="{{ .RelPermalink }}">Read more</a>
|
||||||
|
{{- if .Param "authorsinlist" }}
|
||||||
|
{{- range .Param "authors" }} by {{ . }}{{ end -}}
|
||||||
|
{{ end -}}
|
||||||
|
</li>
|
||||||
|
{{- end }}
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue