-
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.
…(potencialmente) temporário de copiar CSS/JS/Imagens para site final
- Loading branch information
Showing
8 changed files
with
76 additions
and
100 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,9 +47,11 @@ exclude: | |
- _data/navigationem.l10n.json | ||
- _data/referens.l10n.json | ||
- _data/schema.l10n.json | ||
- _assets/ | ||
|
||
keep_files: | ||
- _assets/ | ||
- assets | ||
|
||
# GitHub pages related | ||
# - https://docs.github.com/en/[email protected]/pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll | ||
|
@@ -90,74 +92,4 @@ defaults: | |
values: | ||
sitemap: false | ||
|
||
# # @see https://github.com/avillafiorita/jekyll-datapage_gen | ||
# page_gen-dirs: true | ||
# page_gen: | ||
# # referens: api-BR-portais-ckan-brasil | ||
# - data: 'api' | ||
# template: 'api' | ||
# # name: 'title' | ||
# name_expr: "record['uid'].split('/').last" | ||
# # name_expr: "record['slug'] or record['lid']" | ||
# # dir: 'uid' | ||
# # "/mul/api/XZ/HXL-Proxy/".chomp("/mul/api/XZ/HXL-Proxy/".split('/').last + "/") | ||
# # record['uid'].chomp(record['uid'].split('/').last + "/") | ||
# dir_expr: "record['uid'].chomp(record['uid'].split('/').last + '/')" | ||
# # dir_expr: "record['uid']" | ||
# # dir_expr: "record['linguam'] + '/' + record['typum'] + '/' + record['gid']" | ||
# # filter_condition: "record['linguam'] != 'mul'" | ||
# # debug: true | ||
|
||
# # - data: 'api' | ||
# # template: 'api' | ||
# # name: 'slug' | ||
# # dir: 'eng/api-TEMP/BR' | ||
# # filter_condition: "record['gid'] == '/api/BR' and record['linguam'] == 'por'" | ||
# # debug: true | ||
|
||
|
||
# @see https://github.com/envygeeks/jekyll-assets | ||
# > TODO: talvez https://rdyar.github.io/2017/10/01/speed-up-jekyll-by-using-gulp-for-sass-and-other-assets/ (?) | ||
|
||
# _config.yml | ||
# assets: | ||
# source_maps: true | ||
# destination: "/assets" | ||
# compression: false | ||
# gzip: false | ||
# defaults: | ||
# integrity: | ||
# {css,img,js}: false | ||
# caching: | ||
# enabled: true | ||
# path: ".jekyll-cache/assets" | ||
# type: file | ||
# # -- | ||
# # Assets you wish to always have compiled. | ||
# # This can also be combined with raw_precompile which | ||
# # copies assets without running through the pipeline | ||
# # making them ultra fast. | ||
# # -- | ||
# precompile: [] | ||
# raw_precompile: [ | ||
# # | ||
# ] | ||
# # -- | ||
# # baseurl: whether or not to append site.baseurl | ||
# # destination: the folder you store them in on the CDN. | ||
# # url: the CDN url (fqdn, or w/ identifier). | ||
# # -- | ||
# cdn: | ||
# baseurl: false | ||
# destination: false | ||
# url: null | ||
# # -- | ||
# # See lib/jekyll/assets/config.rb | ||
# # for a list of defaults | ||
# # -- | ||
# sources: | ||
# - _assets/css | ||
# - _assets/js | ||
# # plugins: | ||
# # css: { autoprefixer: {}} | ||
# # img: { optim: {}} |
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 |
---|---|---|
|
@@ -9,29 +9,14 @@ | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | ||
integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous"> | ||
|
||
<link rel="stylesheet" href="/assets/css/hapi.css?{{ 'now' | date: '%s' }}"> | ||
|
||
{% if page.noindex %}<meta name="robots" content="noindex,nofollow">{% endif %} | ||
|
||
{% if page.layout contains 'api' or page.openapi_filum != nil %} | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/swagger-ui.css" | ||
integrity="sha384-cV2XOZCR++vwjNcnG56raZiJn/a7fw78X9BkQ8S4Rgj5BAI1XfOvAMbRm9KmARdg" | ||
crossorigin="anonymous"> | ||
|
||
<style> | ||
/* Hide some strange SVG not loading */ | ||
.swagger-ui>div>svg { | ||
display: none; | ||
} | ||
</style> | ||
{% endif %} | ||
|
||
<!-- TODO: _[por] Mover este CSS para algum arquivo dedicado [por]_ --> | ||
<style> | ||
.incognitum-phrasim:after, .incognitum-phrasim:before { | ||
content: attr(lang); | ||
color:mediumseagreen; | ||
font-style: italic; | ||
vertical-align: sub; | ||
} | ||
</style> | ||
|
||
</head> |
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 |
---|---|---|
|
@@ -8,6 +8,8 @@ | |
integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" | ||
crossorigin="anonymous"></script> | ||
|
||
<script type="module" src="/assets/js/hapi-globum.mjs?{{ 'now' | date: '%s' }}"></script> | ||
|
||
{% if page.layout contains 'api' or page.openapi_filum != nil %} | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/swagger-ui-bundle.js" | ||
integrity="sha384-TsNPQoWzG+yZglf0QyR2pSxpd230yWkR9JJPog0+qnOLds0Y7XT8MH1zdUeVI65/" | ||
|
@@ -31,4 +33,6 @@ | |
render() | ||
} | ||
</script> | ||
|
||
<script type="module" src="/assets/js/hapi-api.mjs?{{ 'now' | date: '%s' }}"></script> | ||
{% endif %} |
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