Skip to content

Commit

Permalink
Add partial inclusion tags to doc-info.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarpons committed Jun 17, 2020
1 parent 772cf8e commit 9dab2ca
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 4 deletions.
16 changes: 15 additions & 1 deletion ca/modules/ROOT/partials/doc-info.adoc
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
= {page-component-title}
include::decidim::partial$l10n.adoc[]

// tag::subtitle[]

ifeval::["{page-subtitle}" != ""]
[.lead]
{page-subtitle}
endif::[]

// end::subtitle[]

// tag::summary[]

ifeval::["{description}" != ""]
== Resum

[abstract]
{description}
endif::[]

== Metadades del document
// end::summary[]

// tag::metadata[]

== Metadades

[cols="20,80"]
|===
Expand Down Expand Up @@ -86,3 +98,5 @@ Podeu trobar les llicències completes en els enllaços següents: https://creat
Es concedeix permís per copiar, distribuir o modificar aquest document sota els termes de la llicència de documentació lliure GNU, versió 1.3 o qualsevol altra versió posterior publicada per la Free Software Foundation; sense seccions invariants ni textos de coberta davantera, tampoc textos de contraportada.
Una còpia de la llicència es pot trobar a http://www.gnu.org/copyleft/fdl.html.
|===

// end::metadata[]
16 changes: 15 additions & 1 deletion en/modules/ROOT/partials/doc-info.adoc
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
= {page-component-title}
include::decidim::partial$l10n.adoc[]

// tag::subtitle[]

ifeval::["{page-subtitle}" != ""]
[.lead]
{page-subtitle}
endif::[]

// end::subtitle[]

// tag::summary[]

ifeval::["{description}" != ""]
== Summary

[abstract]
{description}
endif::[]

== Document Metadata
// end::summary[]

// tag::metadata[]

== Metadata

[cols="20,80"]
|===
Expand Down Expand Up @@ -87,3 +99,5 @@ You can find full licences on the following links: https://creativecommons.org/l
You are permitted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation Licence, version 1.3 or any other version subsequently published by the Free Software Foundation; without Invariant Sections or Front-Cover Texts, or Back-Cover Texts either.
You can find a copy of the licence on http://www.gnu.org/copyleft/fdl.html.
|===

// end::metadata[]
2 changes: 1 addition & 1 deletion en/modules/ROOT/partials/nav-decidim.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ include::config-tutorial:ROOT:partial$nav.adoc[]
include::whitepaper:ROOT:partial$nav.adoc[]
--
** xref:decidim:ROOT:governance.adoc[Project governance]
** xref:social-contract:ROOT:index.adoc[Social contract]
** xref:social-contract:ROOT:index.adoc[]
** xref:decidim:ROOT:history.adoc[History of the project]
** xref:decidim:ROOT:research.adoc[Research]
** xref:publications:ROOT:index.adoc[]
Expand Down
16 changes: 15 additions & 1 deletion es/modules/ROOT/partials/doc-info.adoc
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
= {page-component-title}
include::decidim::partial$l10n.adoc[]

// tag::subtitle[]

ifeval::["{page-subtitle}" != ""]
[.lead]
{page-subtitle}
endif::[]

// end::subtitle[]

// tag::summary[]

ifeval::["{description}" != ""]
== Resumen

[abstract]
{description}
endif::[]

== Metadatos del documento
// end::summary[]

// tag::metadata[]

== Metadatos

[cols="20,80"]
|===
Expand Down Expand Up @@ -87,3 +99,5 @@ Puede encontrar las licencias completas en los siguientes enlaces: https://creat
Se concede permiso para copiar, distribuir y/o modificar este documento bajo los términos de la licencia de documentación libre GNU, versión 1.3 o cualquier otra versión posterior publicada por la Free Software Foundation; sin secciones invariantes ni textos de cubierta delantera, tampoco textos de contraportada.
Una copia de la licencia se puede encontrar en http://www.gnu.org/copyleft/fdl.html.
|===

// end::metadata[]

0 comments on commit 9dab2ca

Please sign in to comment.