Compare commits

...

2 Commits
master ... next

10 changed files with 89 additions and 26 deletions

View File

@ -8,7 +8,7 @@ rssLimit = 20
description = "I'm an artist, designer, photographer and libre advocate."
favicon = "/favicon.ico"
#logo = "/logo.png"
navlogo = "/navlogo.png"
navlogo = "/navlogo-nexttemp.png" # To be changed when merging into master
[menu]
[[menu.main]]

3
content/all/_index.md Normal file
View File

@ -0,0 +1,3 @@
---
title: All posts
---

32
layouts/all/list.html Normal file
View File

@ -0,0 +1,32 @@
{{ define "body_class" }} tag-template {{ end }}
{{ define "main" }}
<header class="site-header">
{{- partial "site-header.html" $ -}}
<style type="text/css">
.responsive-header-img {
background-color: #1e1e1e;
}
</style>
<div class="outer site-header-background responsive-header-img fadein no-image">
<div class="inner site-header-content-list">
<h1 class="site-title">{{ .Title }}</h1>
<h2 class="site-description">{{ len .Site.RegularPages }} post{{ if gt (len .Site.RegularPages) 1 }}s{{ end }}
</h2>
</div>
</div>
</header>
<main id="site-main" class="site-main outer">
<div class="inner posts">
<div class="post-feed">
{{ range $index, $element := (where .Site.RegularPages ".Params.rss_ignore" "ne" "true") }}
{{- partial "post-card.html" (dict "context" . "index" $index "home" $.IsHome) -}}
{{ end }}
</div>
</div>
</main>
{{ end }}

BIN
static/navlogo-nexttemp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View File

@ -138,6 +138,13 @@
font-weight: normal; // Probably unnecessary.
}
/* MAKEHEAD */
.makehead {
font-family: "Mustica Pro";
font-weight: normal;
color: #e5e5e5;
}
/* ISSO CSS */
#isso-thread {

View File

@ -311,7 +311,8 @@ h5,h6{
.site-wrapper{
display:flex;
flex-direction:column;
min-height:100vh
min-height:100vh;
// background-image: url("/me.png");
}
.site-main{
z-index:100;
@ -328,7 +329,7 @@ h5,h6{
}
@media (min-width:900px){
.author-template .post-feed,.home-template .post-feed,.tag-template .post-feed{
padding:40px 0 5vw;
padding:10px 0 1px;
border-top-left-radius:3px;
border-top-right-radius:3px
}

View File

@ -5,15 +5,15 @@
<header class="site-header">
{{- partial "site-header.html" $ -}}
{{- partial "header-background.html" $ -}}
<style type="text/css">
.responsive-header-img {
background-color: #1e1e1e;
}
</style>
<div class="outer site-header-background responsive-header-img fadein no-image">
<div class="inner site-header-content-list">
<h1 class="site-title">{{ .Title }}</h1>
<h2 class="site-description">
{{ if .Param "description" }}
{{ else }}
A collection of {{ len .Pages }} post{{ if gt (len .Pages) 1 }}s{{ end }}
{{ end }}
<h2 class="site-description">{{ len .Pages }} post{{ if gt (len .Pages) 1 }}s{{ end }}
</h2>
</div>
</div>

View File

@ -15,7 +15,8 @@
Hi, I'm <font color="#EB4034">{{ $.Site.Title }}</font>.
{{ end }}
</h1>
<h2 class="site-description fadein">I'm an <font color="#EB4034">artist</font>, <font color="#0171FF">designer</font>, <font color="#03B000">photographer</font> and <font color="#FFB002">libre advocate</font>.</h2>
<h2 class="site-description fadein">Next branch, change this (index.html) and navlogo (config.toml) before merging into master.</h2>
<!--<h2 class="site-description fadein">I'm an <font color="#EB4034">artist</font>, <font color="#0171FF">designer</font>, <font color="#03B000">photographer</font> and <font color="#FFB002">libre advocate</font>.</h2>-->
<!-- This is the old way of getting the description, I had to hardcode it in order to apply color. -->
<!-- <h2 class="site-description">{{ $.Site.Params.description }}</h2> -->
@ -27,8 +28,7 @@
<main id="site-main" class="site-main outer">
<div class="inner posts">
<div class="post-feed">
<div id="banner">
<!--<div id="banner">
<span><h2>Stop EU's eIDAS Article 45 proposal!</h2>
<p>The EU strikes once again, this time with a proposal to <b>force browsers to go through EU-approved certificate authorities and cryptographic keys</b> which allows governments to <b>intercept HTTP(S) traffic of all european citizens</b>. The middle man here would be ETSI, EU's IT standards body, which has <b>a worrysome track record</b> of creating compromised cryptographic standards and working with organizations involved in intercepting communications through backdoors.</p>
<p>To know more about this and to try stopping it, check the following websites:</p>
@ -47,12 +47,41 @@
<li><a href="https://www.patrick-breyer.de/en/posts/chat-control/">this article from Patrick Breyer</a> that goes into detail on the proposal and its potential consequences;</li>
<li><a href="https://balkaninsight.com/2023/09/25/who-benefits-inside-the-eus-fight-over-scanning-for-child-sex-content/">this article from BalkanInsight</a> exposing the entities who benefit commercially from this law.</li>
</ul></span>
</div>-->
<h1 class="makehead">I make <a style="color: #eb4034" href="/art">art</a>, <a style="color: #ffb002" href="/blog">blog posts</a>, <a style="color: #03b000" href="/design">designs</a>, <a style="color: #00e8f6" href="/software">software</a>, <a style="color: #0171ff" href="/videos">videos</a>, <a style="color: #ab09ff" href="/wallpapers">wallpapers</a> and <a style="color: #99e0ff" href="/other">more</a>.</h1><br />
{{ $pages := where .Site.Pages ".Params.rss_ignore" "ne" "true" }}
{{ $regpages := where .Site.RegularPages ".Params.rss_ignore" "ne" "true" }}
<h2 class="site-description">Recent content<a href="/all" style="font-size: .7em; float: right;">see more</a></h2>
<div class="post-feed">
{{ range $index, $element := ($regpages | first 3) }}
{{- partial "post-card.html" (dict "context" . "index" $index "home" $.IsHome) -}}
{{ end }}
</div>
{{ $pages := site.RegularPages }}
{{ range $index, $element := $pages }}{{ if ne .Params.rss_ignore true }}
<h2 class="site-description">Recent blog posts<a href="/blog" style="font-size: .7em; float: right;">see more</a></h2>
<div class="post-feed">
{{ range $index, $element := (where $pages "Section" "blog" | first 3) }}
{{- partial "post-card.html" (dict "context" . "index" $index "home" $.IsHome) -}}
{{ end }}
</div>
<h2 class="site-description">Random content<a href="/all" style="font-size: .7em; float: right;">see more</a></h2>
<div class="post-feed">
{{ range $index, $element := (shuffle $regpages | first 3) }}
{{- partial "post-card.html" (dict "context" . "index" $index "home" $.IsHome) -}}
{{ end }}
</div>
<!--<h2 class="site-description">My projects<a href="/tags/project" style="font-size: .7em; float: right;">see more</a></h2>
<div class="post-feed">
{{ range $index, $element := (where $pages "Params.tags" "intersect" (slice "project") | first 3) }}{{ if ne .Title "Projects" }}
{{- partial "post-card.html" (dict "context" . "index" $index "home" $.IsHome) -}}
{{ end }}{{ end }}
</div>
</div>-->
</div>
</main>

View File

@ -1,15 +1,6 @@
{{ if .Scratch.Get "background" }}
<style type="text/css">
.responsive-header-img {
background-image: url('{{ .Scratch.Get "background" }}');
}
</style>
<div class="outer site-header-background responsive-header-img">
{{ else }}
<style type="text/css">
.responsive-header-img {
background-image: url('/introbg.svg');
}
</style>
<div class="outer site-header-background responsive-header-img fadein">
{{ end }}

View File

@ -1,7 +1,7 @@
<article class="post-card post
{{ if not (.context.Param "thumbnail") }} no-image
{{ else }}
{{ if (eq (mod .index 6) 0) }} post-card-large {{ end }}{{ .isLarge }}
{{ if (eq (mod .index 6) 0) }} <!--post-card-large--> {{ end }}{{ .isLarge }}
{{ end }} ">
{{ if .context.Param "thumbnail" }}