From 806b0c4c393cc535996a73fa7304d16b08410cd8 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Wed, 28 Jan 2026 22:15:35 +0100 Subject: Simplified style (no tailwind) --- layouts/_default/baseof.html | 2 +- layouts/partials/head/styles.html | 5 +---- layouts/partials/header/avatar.html | 2 +- layouts/partials/list/categories.html | 2 +- layouts/shortcodes/alert.html | 2 +- 5 files changed, 5 insertions(+), 8 deletions(-) (limited to 'layouts') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index b29ae66..7ba1af9 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,7 +4,7 @@ {{- partial "head/index" . -}} - + {{ partial "header/index" . }}
diff --git a/layouts/partials/head/styles.html b/layouts/partials/head/styles.html index e5432ad..03f336b 100644 --- a/layouts/partials/head/styles.html +++ b/layouts/partials/head/styles.html @@ -1,5 +1,5 @@ {{/* Resources */}} -{{- $tailwind := resources.Get "css/tailwind.css" | postCSS (dict "config" "./config/postcss.config.js") -}} +{{- $styles := resources.Get "css/main.css" -}} {{/* MathJax */}} @@ -9,9 +9,6 @@ document.addEventListener('DOMContentLoaded', function () { }); -{{/* Processor */}} -{{- $styles := slice $tailwind | resources.Concat "css/app.css" -}} - {{/* Output */}} {{- if eq hugo.Environment "development" -}} diff --git a/layouts/partials/header/avatar.html b/layouts/partials/header/avatar.html index be3eb12..5afe23b 100644 --- a/layouts/partials/header/avatar.html +++ b/layouts/partials/header/avatar.html @@ -1,7 +1,7 @@ {{ $avatar := resources.GetMatch .Site.Params.avatar }} {{ $tiny := ($avatar.Fill "400x400 q90") }} -
+
- {{ .Title }} ({{ len .Pages }}) + {{ .Title }} ({{ len .Pages }}) diff --git a/layouts/shortcodes/alert.html b/layouts/shortcodes/alert.html index 3a55964..b980b41 100644 --- a/layouts/shortcodes/alert.html +++ b/layouts/shortcodes/alert.html @@ -5,7 +5,7 @@ {{ if $title }}

{{ $title }}

{{ end }} -

+

{{ if eq $severity "info" }}