-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mvp-tema-i18n (#9): _includes/tm/index-xdefallo.html, rascunho
- Loading branch information
Showing
9 changed files
with
169 additions
and
323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!-- _includes/schemam/index-xdefallo.html --> | ||
|
||
{% assign xtm = include.xtm %} | ||
{% assign h_1sx = include.initiale_html_hN %} | ||
{% assign h_2sx = h_1sx | plus: 1 %} | ||
{% assign h_3sx = h_2sx | plus: 1 %} | ||
|
||
{% assign h1sx = h_1sx | prepend: 'h' %} | ||
{% assign h2sx = h_2sx | prepend: 'h' %} | ||
{% assign h3sx = h_3sx | prepend: 'h' %} | ||
|
||
{% _🗣️ opus_in_progressu_emoji_nomen 🗣_️ %} | ||
|
||
{% for rem in xtm.alternativum %} | ||
<article style="padding: 1em"> | ||
{% include tm/item.html tm=rem initiale_html_hN=h_3sx multiplum_linguam=true %} | ||
</article> | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<!-- _includes/schemam/index.html --> | ||
|
||
{% assign h_1sx = include.initiale_html_hN %} | ||
{% assign h_2sx = h_1sx | plus: 1 %} | ||
{% assign h_3sx = h_2sx | plus: 1 %} | ||
|
||
{% assign h1sx = h_1sx | prepend: 'h' %} | ||
{% assign h2sx = h_2sx | prepend: 'h' %} | ||
{% assign h3sx = h_3sx | prepend: 'h' %} | ||
|
||
{% for xschemam_global in site.data.hapi.xschemam %} | ||
{% if xschemam_global.collectionem_xschemam[0] %} | ||
<section> | ||
<{{ h1sx }} id="{% _🗣️ 🔎🔕🔍 Hapi_schemam_slug 🔎🔕🔍 🗣️_ %}--{{ xschemam_global.gid }}"> | ||
{{ xschemam_global.nomen }} | ||
</{{ h1sx }}> | ||
|
||
{% for xschemam in xschemam_global.collectionem_xschemam %} | ||
|
||
{%- if xschemam.alternativum_linguam contains page.linguam and page.linguam != 'mul-Zyyy' -%} | ||
{% assign rem = xschemam.alternativum | where: 'linguam', page.linguam | first %} | ||
<article style="padding: 1em"> | ||
{% include schemam/item.html schemam=rem initiale_html_hN=h_2sx multiplum_linguam=false %} | ||
</article> | ||
|
||
{%- else -%} | ||
|
||
<section style="padding-left: 1em; padding-right: 1em"> | ||
<{{ h2sx }} id="{% _🗣️ 🔎🔕🔍 Hapi_schemam_slug 🔎🔕🔍 🗣️_ %}--{{ xschemam.lid | slugify }}"> | ||
<a href="#{{ xschemam.url | slugify }}">🔗</a> | ||
{{ xschemam.lid }} | ||
</{{ h2sx }}> | ||
|
||
{% unless page.linguam == 'mul-Zyyy' %} | ||
<p> | ||
<mark lang="pt">_[por] TODO: Sem idioma disponível. Apresentando todas as opções. [por]_</mark> | ||
</p> | ||
{% endunless %} | ||
|
||
{% for rem in xschemam.alternativum %} | ||
{% comment %} {% if api_alt.url == xapi.url %} | ||
{% continue %} | ||
{% endif %} {% endcomment %} | ||
|
||
<article style="padding: 1em"> | ||
{% include schemam/item.html schemam=rem initiale_html_hN=h_3sx multiplum_linguam=true %} | ||
</article> | ||
|
||
{% endfor %} | ||
|
||
</section> | ||
|
||
{%- endif -%} | ||
|
||
{% endfor %} | ||
</section> | ||
{% endif %} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<!-- _includes/schemam/item.html --> | ||
{% assign schemam = include.schemam %} | ||
{% assign multiplum_linguam = include.multiplum_linguam %} | ||
|
||
{% assign h_1 = include.initiale_html_hN %} | ||
{% assign h_2 = h_1 | plus: 1 %} | ||
{% assign h_3 = h_2 | plus: 1 %} | ||
{% assign h_4 = h_3 | plus: 1 %} | ||
{% assign h1 = h_1 | prepend: 'h' %} | ||
{% assign h2 = h_2 | prepend: 'h' %} | ||
{% assign h3 = h_3 | prepend: 'h' %} | ||
{% assign h4 = h_4 | prepend: 'h' %} | ||
|
||
<div class="card"> | ||
<div class="card-header"> | ||
<small>🗣{{ schemam.linguam }}🗣</small> | ||
{% if schemam.opus_in_progressu %} | ||
<small>{% _🗣️ opus_in_progressu_emoji_nomen 🗣️_ %}</small> | ||
{% endif %} | ||
</div> | ||
<div class="card-body"> | ||
|
||
<{{ h1 }} class="card-title" id="{{ schemam.url | slugify }}" > | ||
{% if multiplum_linguam %} | ||
{{ schemam.linguam }} - {{ schemam.nomen }} | ||
{% else -%} | ||
{{ schemam.nomen }} | ||
{%- endif -%} | ||
</{{ h1 }}> | ||
|
||
<p class="card-text"> | ||
{{ schemam.summarius }} | ||
</p> | ||
|
||
<a href="{{ schemam.url }}" hreflang="{{ schemam.hreflang }}" | ||
class="btn btn-primary"> | ||
{% _🗣️ abbreviationem_XZ_URL_canonicum_nomen 🗣️_ %} | ||
</a> | ||
|
||
{%- if schemam.datum.archivum %} | ||
|
||
{%- if schemam.datum.archivum.schemam.graphql %} | ||
{% for rem in schemam.datum.archivum.schemam.graphql %} | ||
<a href="{{ rem.iri }}" class="btn btn-secondary"> | ||
{% _🗣️ graphql_schemam_nomen 🗣️_ %} | ||
</a> | ||
{%- endfor %} | ||
{% endif %} | ||
|
||
{%- if schemam.datum.archivum.schemam.json %} | ||
{% for rem in schemam.datum.archivum.schemam.json %} | ||
<a href="{{ rem.iri }}" class="btn btn-secondary"> | ||
{% _🗣️ json_schemam_nomen 🗣️_ %} | ||
</a> | ||
{%- endfor %} | ||
{% endif %} | ||
|
||
{%- if schemam.datum.archivum.schemam.sql %} | ||
{% for rem in schemam.datum.archivum.schemam.sql %} | ||
<a href="{{ rem.iri }}" class="btn btn-secondary"> | ||
{% _🗣️ SQL_abbreviationem_nomen 🗣️_ %} | ||
</a> | ||
{%- endfor %} | ||
{% endif %} | ||
|
||
{% endif %} | ||
|
||
</div> | ||
<div class="card-footer"> | ||
<small class="text-muted"> | ||
{% _🗣️ commune_agnitionem_et_gratiam_nomen 🗣️_ %}: <br> | ||
<mark>_[por] TODO: adicionar lista de colaboradores [por]_</mark> | ||
</small> | ||
</div> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.