{% extends "base.html" %} {% block title %}{{ 'Editar' if item else 'Nuevo' }} {{ meta.singular|lower }}{% endblock %} {% set f = fields or {} %} {% block main %} {% if preview_html %}
Vista previa

{{ f.title }}

{{ preview_html }}
{% endif %}
{% if item %} {% endif %} {# The byline travels with the document, like the date and the image path. An edit keeps whoever wrote it; only publishing sets it. #} {% if f and f.author %} {% endif %}

{{ ('Editar ' ~ meta.singular|lower) if item else meta.new_label }}

{% if meta.dated %} {#- The publication time the post already carries. Hugo sorts the blog by the whole of it and a date field is only a day, so without this, saving a corrected typo would restamp the clock and carry a year-old post to the top of the home page. -#} {% endif %} {% if collection == 'page' %} {# Where this page sits in the public menu. The menu is built from the pages themselves, so a page published here appears on the site by itself — choosing a parent puts it in the submenu under that page instead of on the top row. The choice is made once and holds in the three languages. #} {% set names = parents | map(attribute='base') | list %}

Menor número, más a la izquierda. 50 si da igual.

{% endif %} {% if collection == 'post' %} {# An event's own date, which is not the day the post goes up. The date is also what makes this post an event: there is nothing to tick first, so there is no way to say "this is an event" and then not say when. #} {#- A fold rather than a fieldset: most posts are not events, and six inches of date pickers between the title and the text is six inches most people scroll past. Open by itself when the post already has a date, so editing an event does not hide the thing being edited. -#}
Si es un evento (fecha, hora, lugar)

Pon la fecha y será un evento: aparecerá en la agenda del sitio, con el día y el lugar destacados, y se podrá añadir al calendario del móvil. Déjala vacía y es un artículo normal.

Déjala vacía si dura todo el día.

Dónde es: el sitio, la calle, el barrio.

Una o dos frases que se entiendan solas: es lo que aparece en los listados, en WhatsApp al compartir el enlace y lo que citan los buscadores. Mejor concreta («El sábado 12 en Ottakring») que general.

{% if f.image %}

Actual: {{ f.image }} — sube otra para reemplazarla.

{% endif %}

Qué se ve en la foto, en una frase. Lo lee quien no puede ver la imagen y lo leen también los buscadores.

{% endif %} {#- The stored markdown, rendered by the server for the editor to adopt. There is no markdown parser in the browser: this is how the box can show the formatting without a second opinion about what somebody's text means. Ignored entirely when scripting is off. -#}

Una por línea, con el formato pregunta|respuesta. Se muestran al final de la página y son lo que mejor citan los buscadores y los asistentes de IA: pregunta concreta, respuesta corta y verificable.

{#- Beside the button that publishes, because that is the moment it is answered. One line rather than a fieldset: it has to be seen, not to take up the form. -#} {#- The same switch for the pin, next to it. The moment it was pinned rides along in the hidden field so that saving a correction does not count as pinning it again and carry it above everything pinned since. -#} {#- Beside Cancelar and shaped like it: both are things you press in this row, and a bare link wedged between two buttons reads as unfinished. -#} Cancelar
{% endblock %}