SEO: metadatos, datos estructurados y encabezados semánticos
All checks were successful
Zola / build-and-deploy (push) Successful in 17s
All checks were successful
Zola / build-and-deploy (push) Successful in 17s
- <html lang="es"> en lugar de "en" - <title> con sufijo del sitio, canonical, meta robots y author - Open Graph completo (url, type, locale, image, article:*) y Twitter Card - JSON-LD: WebSite + Person en portada, BlogPosting en cada post - rel="me" hacia Mastodon/GitHub/X - Imagen para redes (og-image.png) y favicon - Títulos de página como <h1> (antes <div>); listados y modal de búsqueda en <h2> - Notas sueltas con noindex y fuera del sitemap; sin paginación duplicada - Páginas de etiquetas y 404 en español, con títulos propios - alt/width/height/lazy en los badges de la portada - MathJax solo cuando un post lo pida ([extra] mathjax = true) - Descripción en /posts y etiquetas en "Hola Mundo" - Limpieza de ficheros de respaldo del editor + .gitignore Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
1d74bceae8
commit
00dc194e86
22 changed files with 714 additions and 26 deletions
30
templates/taxonomy_list.html
Normal file
30
templates/taxonomy_list.html
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block main_content %}
|
||||
<div>
|
||||
{% block title %}
|
||||
{{ post_macros::page_header(title="Etiquetas") }}
|
||||
{% endblock title %}
|
||||
|
||||
<main class="tag-list">
|
||||
{% set sort_by = config.extra.taxonomies.sort_by | default(value="name") %}
|
||||
{% set terms = terms | default(value=[]) | sort(attribute=sort_by) %}
|
||||
|
||||
{% if config.extra.taxonomies.reverse | default(value=false) %}
|
||||
{% set terms = terms | reverse %}
|
||||
{% endif %}
|
||||
|
||||
<ul>
|
||||
{%- for term in terms %}
|
||||
<div class="post-header">
|
||||
<h2 class="title">
|
||||
<a href={{ term.permalink }}>{{ term.name }}</a>
|
||||
</h2>
|
||||
|
||||
<small class="meta">{{ term.page_count }} entrada{{ term.page_count | pluralize }}</small>
|
||||
</div>
|
||||
{% endfor -%}
|
||||
</ul>
|
||||
</main>
|
||||
</div>
|
||||
{% endblock main_content %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue