-
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.
Adição de shortcodes e correção no contato (#78)
* Adição de shortcodes e correção no contato * Update contato.es.md
- Loading branch information
Showing
12 changed files
with
163 additions
and
65 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
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,3 @@ | ||
<aside> | ||
{{ body }} | ||
</aside> |
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,7 +1,7 @@ | ||
{% import "m00content.html" as m00content %} | ||
|
||
{%- block content %} | ||
{{ m00content::hardware() }} | ||
{{ m00content::software() }} | ||
{{ m00content::about() }} | ||
{{ m00content::projects() }} | ||
{{ m00content::faqs() }} | ||
{%- endblock content %} |
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,28 @@ | ||
{%- if config.base_url != "http://127.0.0.1:1111" %} | ||
{%- if link is starting_with("https://github.com") %} | ||
{%- set gh_token = get_env(name="GITHUB_TOKEN", default="notoken") %} | ||
{%- set gh_repo_link = link | replace(from="https://github.com", to="https://api.github.com/repos") %} | ||
{%- if gh_token is matching("^notoken") %}{% set gh_repo_data = load_data(url=gh_repo_link, format="json") %}{% else %}{% set gh_repo_data = load_data(url=gh_repo_link, format="json", headers=["accept=application/vnd.github.v4.idl", "authorization=Bearer " ~ gh_token]) %}{% endif %} | ||
{%- endif %} | ||
{%- else %} | ||
{%- set gh_repo_data = load_data(literal='{"archived": false, "language": "APL", "html_url": "none", "name": "foobar", "description": "Test description test description test description", "license": {"spdx_id": "FOO"}, "topics": ["foo", "bar", "test"]}', format="json") %} | ||
{%- endif %} | ||
{%- set gh_archive = gh_repo_data["archived"] | default(value="") %} | ||
{%- set gh_language = gh_repo_data["language"] | default(value="") %} | ||
{# {%- set gh_license = gh_repo_data["license"]["spdx_id"] | replace(from="NOASSERTION", to="") | default(value="") %}i #} | ||
{%- set gh_description = gh_repo_data["description"] | default(value="") | regex_replace(pattern='\p{Emoji}', rep='') %} | ||
<div class="projects frame-dim"> | ||
<h2><a {% if gh_archive == true %}id="project-archived" {% endif %}href="{{ gh_repo_data['html_url'] | safe }}" target="_blank">{{ gh_repo_data["name"] | safe }}</a></h2> | ||
<ul class="project-list"> | ||
<li><b><span class="project-lang">{{ gh_language | safe }}</span></b> <span class="project-lang {{ gh_language | replace(from="#", to="-Sharp") | replace(from="++", to="pp") | replace(from="-", to="") | replace(from=" ", to="") | safe }}"><b>*</b></span></li> | ||
{# <li><span class="project-license">{{ gh_license | safe }}</span></li> #} | ||
<li><span class="project-description">{{ gh_description | safe }}</span></li> | ||
{# <li><ul class="tags project-tags" | ||
{%- for topic in gh_repo_data["topics"] %} | ||
><li id="info-tag">{{ topic | safe }}</li | ||
{%- if not loop.last %} | ||
{%- endif %} | ||
{%- endfor %} | ||
></ul></li> #} | ||
</ul> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<blockquote> | ||
{{ body }} <br> | ||
-- {{ author}} | ||
</blockquote> | ||
|
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,8 @@ | ||
<div {% if class %}class="{{class}}"{% endif %}> | ||
<iframe | ||
src="https://www.youtube.com/embed/{{id}}{% if autoplay %}?autoplay=1{% endif %}" | ||
webkitallowfullscreen | ||
mozallowfullscreen | ||
allowfullscreen> | ||
</iframe> | ||
</div> |