Skip to content

Commit

Permalink
mvp-tema-i18n (#9): _includes/commune/agnitionem-paginam.html
Browse files Browse the repository at this point in the history
  • Loading branch information
fititnt committed Jun 23, 2021
1 parent ad6baa4 commit ef9706e
Show file tree
Hide file tree
Showing 11 changed files with 102 additions and 73 deletions.
2 changes: 1 addition & 1 deletion _data/agnitionem/communitatem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
opus:
- translationem
picturam: https://la.wiktionary.org/static/images/project-logos/lawiktionary.png
iri: https://la.wiktionary.org/
iri: https://la.wiktionary.org/wiki/Victionarium
typum: communitatem
2 changes: 1 addition & 1 deletion _data/agnitionem/humanum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
- commanitatem-auxilium
picturam: https://avatars.githubusercontent.com/u/50434491?v=4
iri: https://github.com/eticaaibot
github:
github: https://github.com/eticaaibot
gitee:
linkedin:
typum: sine-nomine
5 changes: 5 additions & 0 deletions _data/schemam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
# GitHub seems to restrict 10GB; Biggest Git Is windows, 270GB
# @see https://www.quora.com/What-is-the-practical-maximum-size-of-a-Git-repository-full-of-text-based-data
# @see https://vfsforgit.org/
# @TODO - https://schema.org/docs/data-and-datasets.html
# - https://www.w3.org/TR/tabular-data-primer/#tabular-data
# - https://pypi.org/project/csvw/
# - https://github.com/cldf/csvw
# - https://datacommons.org/

- uid: /mul-Zyyy/schemam/UN/HTCDS/
xdefallo: /mul-Zyyy/schemam/UN/HTCDS/
Expand Down
79 changes: 79 additions & 0 deletions _includes/commune/agnitionem-paginam.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<!-- _includes/commune/agnitionem-paginam.html -->

<!-- TODO: https://www.w3.org/TR/2011/WD-html5-author-20110809/links.html -->

<h2 id="agnitionem">
{% _🗣️ commune_agnitionem_et_gratiam_nomen 🗣️_ %}
</h2>
<h3 id="agnitionem-voluntarius">
{% _🗣️ commune_voluntarius_auxilio_tuo_nomen 🗣️_ %}
</h3>


<ul>
{% for humanum in site.data.agnitionem.humanum -%}

{%- if page.tags contains 'index' -%}
<!-- index est -->
{%- else -%}
{%- if humanum.opus contains 'fundatarem' -%}
<!-- _[por-Latn] Fundadores gerais são omitidos fora de páginas de listagem[por-Latn]_ -->
{% continue %}
{%- endif -%}
{%- endif -%}

<li>
<details>
<summary>{{ humanum.nomen.baptismum }}</summary>
<ul>
<li>
<a rel="external" href="{{ humanum.iri }}">
{{ humanum.iri }}
</a>
</li>
{%- if humanum.gitee and humanum.gitee != humanum.iri -%}
<li>
<a rel="external" href="{{ humanum.gitee }}">
{{ humanum.gitee }}
</a>
</li>
{%- endif -%}
{%- if humanum.github and humanum.github != humanum.iri -%}
<li>
<a rel="external" href="{{ humanum.github }}">
{{ humanum.github }}
</a>
</li>
{%- endif -%}
{%- if humanum.linkedin and humanum.linkedin != humanum.iri -%}
<li>
<a rel="external" href="{{ humanum.linkedin }}">
{{ humanum.linkedin }}
</a>
</li>
{%- endif -%}
</ul>
</details>
</li>

{%- endfor %}
</ul>

<h3 id="agnitionem-communitatem">
{% _🗣️ commune_agnitionem_communitatem_nomen 🗣️_ %}
</h3>

<ul>
{% for communitatem in site.data.agnitionem.communitatem -%}
<li>
{%- if communitatem.iri -%}
<a href="{{ communitatem.iri }}">
{{ communitatem.nomen.baptismum }}
</a>
{%- else -%}
{{ communitatem.nomen.baptismum }}
{%- endif -%}
</li>
{%- endfor %}
</ul>

22 changes: 2 additions & 20 deletions _includes/index-corporeum-mul-Zyyy.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,12 @@ <h2 id="translationem-memoriam" lang="la">Trānslātiōnem memoriam</h2>
</article>

<aside>
<h2 id="agnitionem">
{% _🗣️ commune_agnitionem_et_gratiam_nomen 🗣️_ %}
</h2>
<h3 id="agnitionem-voluntarius">
{% _🗣️ commune_voluntarius_auxilio_tuo_nomen 🗣️_ %}
</h3>
<ul>
{% for humanum in site.data.agnitionem.humanum -%}
<li>{{ humanum.nomen.baptismum }}</li>
{%- endfor %}
</ul>
<h3 id="agnitionem-communitatem">
{% _🗣️ commune_agnitionem_communitatem_nomen 🗣️_ %}
</h3>
<ul>
{% for communitatem in site.data.agnitionem.communitatem -%}
<li>{{ communitatem.nomen.baptismum }}</li>
{%- endfor %}
</ul>
{% include commune/agnitionem-paginam.html %}
</aside>

<section>
<h2 id="licentiam">{% _🗣️ licentiam_nomen 🗣️_ %}</h2>
<a href="https://unlicense.org/">
<a rel="license" href="https://unlicense.org/">
<img src="https://i.creativecommons.org/p/zero/1.0/88x31.png"
alt="{% _🗣️ 🔎🔕🔍 dominium_publicum_nomen 🔎🔕🔍 🗣️_ %}">
</a>
Expand Down
22 changes: 2 additions & 20 deletions _includes/index-corporeum.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,12 @@ <h2 id="translationem-memoriam">{% _🗣️ translationem_memoriam_nomen 🗣️
</article>

<aside>
<h2 id="agnitionem">
{% _🗣️ commune_agnitionem_et_gratiam_nomen 🗣️_ %}
</h2>
<h3 id="agnitionem-voluntarius">
{% _🗣️ commune_voluntarius_auxilio_tuo_nomen 🗣️_ %}
</h3>
<ul>
{% for humanum in site.data.agnitionem.humanum -%}
<li>{{ humanum.nomen.baptismum }}</li>
{%- endfor %}
</ul>
<h3 id="agnitionem-communitatem">
{% _🗣️ commune_agnitionem_communitatem_nomen 🗣️_ %}
</h3>
<ul>
{% for communitatem in site.data.agnitionem.communitatem -%}
<li>{{ communitatem.nomen.baptismum }}</li>
{%- endfor %}
</ul>
{% include commune/agnitionem-paginam.html %}
</aside>

<section>
<h2 id="licentiam">{% _🗣️ licentiam_nomen 🗣️_ %}</h2>
<a href="https://unlicense.org/">
<a rel="license" href="https://unlicense.org/">
<img src="https://i.creativecommons.org/p/zero/1.0/88x31.png"
alt="{% _🗣️ 🔎🔕🔍 dominium_publicum_nomen 🔎🔕🔍 🗣️_ %}">
</a>
Expand Down
2 changes: 1 addition & 1 deletion _includes/pedem-mul-Zyyy.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</a>
</li>
<li class="list-group-item">
<a href="https://unlicense.org/">
<a rel="license" href="https://unlicense.org/">
<img src="https://i.creativecommons.org/p/zero/1.0/88x31.png" alt="Licentiam: Dominium publicum">
</a>
</li>
Expand Down
3 changes: 2 additions & 1 deletion _layouts/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ <h3>{% _🗣️ PDF_archivum_salvandum_nomen 🗣️_ %}</h3>

</div>


<section>
<h2>{% _🗣️ licentiam_nomen 🗣️_ %}</h2>
<a href="https://unlicense.org/">
<a rel="license" href="https://unlicense.org/">
<img src="https://i.creativecommons.org/p/zero/1.0/88x31.png"
alt="{% _🗣️ dominium_publicum_nomen 🗣️_ %}">
</a>
Expand Down
10 changes: 8 additions & 2 deletions _layouts/schemam.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@
layout: defallo
---

{% include schemam/rem.html schemam=page initiale_html_hN=2 %}
<div style="border-style: dotted; border-width: 2px; border-color: #ccc">
{% include schemam/rem.html schemam=page initiale_html_hN=2 %}
</div>

<aside>
{% include commune/agnitionem-paginam.html %}
</aside>

<section>
<h2>{% _🗣️ licentiam_nomen 🗣️_ %}</h2>
<a href="https://unlicense.org/">
<a rel="license" href="https://unlicense.org/">
<img src="https://i.creativecommons.org/p/zero/1.0/88x31.png"
alt="{% _🗣️ dominium_publicum_nomen 🗣️_ %}">
</a>
Expand Down
27 changes: 0 additions & 27 deletions _layouts/xapi.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,3 @@
---
{% include xdefallo-linguam-notitia.html %}
{% include api/index-xdefallo.html xapi=page initiale_html_hN=2 %}

{% comment %} {% for api_alt in page.alternativum %}
{% if api_alt.url == page.url %}
{% continue %}
{% endif %}
<article>
<h2>
<a href="{{ api_alt.url }}">
{{ api_alt.title }}
</a>
</h2>
<dl>
<dt><mark la="la">Linguam</mark></dt>
<dd>{{ api_alt.linguam }}</dt>
<dt><mark la="la">Dēscrīptiōnem</mark></dt>
<dd>{{ api_alt.summarius }}</dt>
<dt>{% _🗣️ abbreviationem_XZ_URL_canonicum_nomen 🗣️_ %}</dt>
<dd><a href="{{ api_alt.url }}">{{ api_alt.url }}</a></dt>
{% if api_alt.openapi_filum %}
<dt>{% _🗣️ OpenAPI_archivum_nomen 🗣️_ %}</dt>
<dd><a href="{{ api_alt.openapi_filum }}">{{ api_alt.openapi_filum }}</a></dt>
{% endif %}
</dl>
</article>
{% endfor %}

<hr> {% endcomment %}
1 change: 1 addition & 0 deletions schemam/UN/HTCDS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

<!--
- http://sqlfiddle.com/
TODO: https://stoplight.io/blog/openapi-json-schema/
TODO: https://github.com/better/jsonschema2db
-->
Expand Down

0 comments on commit ef9706e

Please sign in to comment.