diff --git a/_includes/index-corporeum-mul-Zyyy.html b/_includes/index-corporeum-mul-Zyyy.html index c397edf..483b091 100644 --- a/_includes/index-corporeum-mul-Zyyy.html +++ b/_includes/index-corporeum-mul-Zyyy.html @@ -110,4 +110,13 @@

+
+

{% _🗣️ licentiam_nomen 🗣️_ %}

+ + {% _🗣️ dominium_publicum_nomen 🗣️_ %} + + {% de_markdown %}{% _🗣️ Hapi_licentiam_Hapi_descriptionem 🗣️_ %}{% endde_markdown %} +
+ diff --git a/_includes/index-corporeum.html b/_includes/index-corporeum.html index e8a2e84..e518d33 100644 --- a/_includes/index-corporeum.html +++ b/_includes/index-corporeum.html @@ -13,6 +13,40 @@

{% for xapi in globum.collectionem_xapi %}
+ {% if xapi.alternativum_linguam contains page.linguam %} + {% assign api_alt = xapi.alternativum | where: 'linguam', page.linguam | first %} +
+
+ 🗣{{ api_alt.linguam }}🗣 + {% if api_alt.opus_in_progressu %} + {% _🗣️ opus_in_progressu_emoji_nomen 🗣️_ %} + {% endif %} +
+
+
+ {{ api_alt.title }} +
+

+ + {{ api_alt.description | default: "_[por] TODO: adicionar descrição [por]_" }} +

+ + API Interativa + + + OpenAPI + +
+ +
+ {% else %}

🔗 {{ xapi.lid | default: xapi['datum']['lid'] }} @@ -57,6 +91,7 @@

{% endfor %} + {% endif %}
{% endfor %}
@@ -103,4 +138,12 @@

+
+

{% _🗣️ licentiam_nomen 🗣️_ %}

+ + {% _🗣️ dominium_publicum_nomen 🗣️_ %} + + {% de_markdown %}{% _🗣️ Hapi_licentiam_Hapi_descriptionem 🗣️_ %}{% endde_markdown %} +
diff --git a/_layouts/api.html b/_layouts/api.html index 2729812..5a2b7ce 100644 --- a/_layouts/api.html +++ b/_layouts/api.html @@ -36,4 +36,18 @@

{% _🗣️ PDF_archivum_salvandum_nomen 🗣️_ %}

{% _🗣️ Hapi_paginam_API_commentarium_2 🗣️_ %}

+ + +
+

{% _🗣️ licentiam_nomen 🗣️_ %}

+ + {% _🗣️ dominium_publicum_nomen 🗣️_ %} + + {% de_markdown %}{% _🗣️ Hapi_licentiam_Hapi_descriptionem 🗣️_ %}{% endde_markdown %} +
+ +{%- include pedem.html -%} + +{%- include peritum-modum/instrumentum-balteum.html -%} diff --git a/_plugins/hapi/drops/xdefallo_api_drop.rb b/_plugins/hapi/drops/xdefallo_api_drop.rb index 3ea79f7..5d136d4 100644 --- a/_plugins/hapi/drops/xdefallo_api_drop.rb +++ b/_plugins/hapi/drops/xdefallo_api_drop.rb @@ -36,19 +36,27 @@ def global # direct access to specific alternative, if exists # [eng]_ # @see https://github.com/jekyll/jekyll/blob/master/lib/jekyll/drops/drop.rb - def [](key) - if self.class.invokable? key - public_send key - elsif key != 'url' && @optionem['alternativum'] - # TODO: _[eng] about the key != 'url' - # sometimes we may try to access URL process, and - # with raw YAML data (not the actuall ApiPaginam) - # this will raise error - # [eng]_ - @optionem['alternativum'].each do |apt_alt| - return apt_alt if apt_alt['linguam'] && apt_alt['linguam'] == key - end - end + # def [](key) + # # puts key + # # puts !!@optionem['alternativum'] + # if self.class.invokable? key + # public_send key + # elsif key == 'url' || key == 'datum' + # # TODO: _[eng] about the key != 'url' + # # sometimes we may try to access URL process, and + # # with raw YAML data (not the actuall ApiPaginam) + # # this will raise error + # # [eng]_ + # nil + # elsif @optionem['alternativum'] && key.length >= 8 + + # puts "[] #{key}" + # @optionem['alternativum'].each do |apt_alt| + # # puts 'achou!' + # puts apt_alt['linguam'] && apt_alt['linguam'] == key + # return apt_alt if apt_alt['linguam'] && apt_alt['linguam'] == key + # end + # end # if @optionem['alternativum'] # puts @optionem['alternativum'].class @@ -57,7 +65,7 @@ def [](key) # # end # end - end + # end def alternativum # puts '' @@ -94,6 +102,16 @@ def linguam @optionem['linguam'] end + def alternativum_linguam + resultatum = [] + @optionem['alternativum'].each do |apt_alt| + # puts 'achou!' + resultatum.append(apt_alt['linguam']) + end + + resultatum + end + def linguam_est @optionem['linguam'] end diff --git a/documentum/eng-Latn/index.md b/documentum/eng-Latn/index.md index e575c09..10eafd4 100644 --- a/documentum/eng-Latn/index.md +++ b/documentum/eng-Latn/index.md @@ -27,6 +27,8 @@ iso6393: eng # iso6393: spa iso15924: Latn +toc: true + translationem_modum: html # translationem_modum: markdown