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
41
templates/base.html
Normal file
41
templates/base.html
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{% import "macros/macros.html" as post_macros %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ lang | default(value=config.default_language) }}" class="dark light">
|
||||
|
||||
{% include "partials/header.html" %}
|
||||
|
||||
<body>
|
||||
<div class="left-content">
|
||||
{% block left_content %}
|
||||
{% endblock left_content %}
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
{% include "partials/nav.html" %}
|
||||
|
||||
{# Post page is the default #}
|
||||
{% block main_content %}
|
||||
Nothing here?!
|
||||
{% endblock main_content %}
|
||||
|
||||
{% if page.extra.comment is defined %}
|
||||
{% set show_comment = page.extra.comment %}
|
||||
{% else %}
|
||||
{% set show_comment = false %}
|
||||
{% endif %}
|
||||
|
||||
{% if show_comment %}
|
||||
<div class="giscus">
|
||||
</div>
|
||||
{% include "_giscus_script.html" %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="right-content">
|
||||
{% block right_content %}
|
||||
{% endblock right_content %}
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue