relparmalinks

This commit is contained in:
tavo 2024-09-10 12:38:38 -06:00
parent 1c66998347
commit 0e0b76855f
4 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
baseURL = 'https://tavo.one/' baseURL = 'https://blog.tavo.one/'
languageCode = 'es' languageCode = 'es'
title = 'Blog de Tavo' title = 'Blog de Tavo'
theme = 'blog' theme = 'blog'

View file

@ -5,5 +5,5 @@ title: Acerca de tavo.one
"I... a universe of atoms, an atom in the universe" 🌠 "I... a universe of atoms, an atom in the universe" 🌠
- Email: [tavo@tavo.one](mailto:tavo@tavo.one) - Email: [tavo@tavo.one](mailto:tavo@tavo.one)
- PGP: [tavo@tavo.one.asc](https://tavo.one/pgp.txt) - PGP: [tavo@tavo.one.asc](https://blog.tavo.one/pgp.txt)
- RSS: [index.xml](https://tavo.one/index.xml) - RSS: [index.xml](https://blog.tavo.one/index.xml)

View file

@ -11,7 +11,7 @@
<!-- Ranges through content/posts/*.md --> <!-- Ranges through content/posts/*.md -->
{{ range .Pages }} {{ range .Pages }}
<li> <li>
<a href="{{ .Permalink }}">{{ .Date.Format "2006-01-02" }} | {{ .Title }}</a> <a href="{{ .RelPermalink }}">{{ .Date.Format "2006-01-02" }} | {{ .Title }}</a>
</li> </li>
{{ end }} {{ end }}
</ul> </ul>

View file

@ -4,7 +4,7 @@
<div class="image-grid"> <div class="image-grid">
{{ range sort .Data.Pages "Date" "desc" }} {{ range sort .Data.Pages "Date" "desc" }}
{{ if and (isset .Params "image") .Params.image }} {{ if and (isset .Params "image") .Params.image }}
<a href="{{ .Permalink }}" title="{{ .Title }}"> <a href="{{ .RelPermalink }}" title="{{ .Title }}">
{{ $image := .Page.Resources.GetMatch .Params.image }} {{ $image := .Page.Resources.GetMatch .Params.image }}
{{ with $image }} {{ with $image }}
{{ $thumb := .Resize "600x" }} {{ $thumb := .Resize "600x" }}