-
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-schemam-paginam (#14): melhorada marcação HTML e outline de página
- Loading branch information
Showing
9 changed files
with
187 additions
and
184 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,33 @@ | ||
<!-- _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 %} | ||
|
||
<section> | ||
<h3 id="todo-schema">schemam</h3> | ||
{% for xschemam_global in site.data.hapi.xschemam %} | ||
{% if xschemam_global.collectionem_xschemam %} | ||
gid - {{ xschemam_global.gid }} | ||
{% for xschemam in xschemam_global.collectionem_xschemam %} | ||
{% if xschemam.alternativum_linguam contains page.linguam %} | ||
{% assign rem = xschemam.alternativum | where: 'linguam', page.linguam | first %} | ||
{% include schemam/item.html schemam=rem initiale_html_hN=3 %} | ||
{% else %} | ||
TODO: do it | ||
{% endif %} | ||
{% assign h1sx = h_1sx | | prepend: 'h' %} | ||
{% assign h2sx = h_2sx | | prepend: 'h' %} | ||
{% assign h3sx = h_3sx | | prepend: 'h' %} | ||
|
||
<article> | ||
{% comment %} {{ xschemam_global | inspect }} {% endcomment %} | ||
<br> | ||
<br> | ||
{% comment %} {{ xschemam_global.collectionem_xschemam | inspect }} {% endcomment %} | ||
<br> | ||
<br> | ||
{{ xschemam }} | ||
<br> | ||
{{ xschemam.alternativum_linguam }} | ||
<br> | ||
<br> | ||
<br> | ||
</article> | ||
{% endfor %} | ||
{% endif %} | ||
{% endfor %} | ||
<section> | ||
{% for xschemam_global in site.data.hapi.xschemam %} | ||
{% if xschemam_global.collectionem_xschemam %} | ||
<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 %} | ||
{% assign rem = xschemam.alternativum | where: 'linguam', page.linguam | first %} | ||
<article> | ||
{% include schemam/item.html schemam=rem initiale_html_hN=h_2sx %} | ||
</article> | ||
{% else %} | ||
<section> | ||
TODO: X-default fallback | ||
{{ xschemam.alternativum_linguam }} | ||
</section> | ||
{% endif %} | ||
{% endfor %} | ||
</section> | ||
{% endif %} | ||
{% endfor %} |
Oops, something went wrong.