vliz-be-theme 0.4.1 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: caf7ef658da09b3c517e664d9f392d075a2c328d7f2fc5be294888a7ecbcfeba
4
- data.tar.gz: '0601530818c5c0cba24c7fae07690158d8fb5132c8fdeab7b6eb811eb8cd895a'
3
+ metadata.gz: 61331e5bb9f9db9df447f7fb55345842e6cc66869f8241c8ba7d4e482ac2f8c8
4
+ data.tar.gz: 1626b6ce1c2d83010e086e9711b8c6a64e9b540b4c2ebfa7d16868c11aff71b9
5
5
  SHA512:
6
- metadata.gz: 1dbabbc6350997334f2e6a708115617dd618e7ca1723ef6f1c8f8d2f8b1c827a5abacc1e5dc6260c76967246c98fe6d2f8e0431cfee43c8b223a577d4f41b94c
7
- data.tar.gz: 951ea25211880c21a9daeb3aced7a2809ed98d07ba829c2e77b6844c86e8ab1bb2b681abd5ac7f240933a50c756197913bf3148995ee18482b96d190b2ae3c11
6
+ metadata.gz: 9a30b20e8603bc5738281ff8bab9a37d6c2f97739917609b65da589b4b072bae95c34b726659d17cba05f2dfd447c8cd0870fc5780e7e8be51423a6b8ef3f943
7
+ data.tar.gz: d6e8ed739c777b8e88fdac664cd71bf091b6a44d7a2c738c839d27658a1b543fcf50806680f18ee1bdae9153074094f35d1cbfdc078846302f0b3fdb7e0f670e
data/_config.yml CHANGED
@@ -1,10 +1,21 @@
1
+ #Permanent settings for the site
1
2
  markdown: kramdown
2
3
  kramdown:
3
4
  input: GFM
4
5
  syntax_highlighter: rouge
5
6
 
6
- base_uri: "https://open-science.vliz.be/vliz-be-jekyll-theme/" # Base URI for your site, e.g. http://example.com/test-repo/ => for development leave empty for gh-pages fill in the name of the repo of not the main gh-pages repo
7
+ # used ruby gems for building this jekyll based site
8
+ gems:
9
+ - jekyll-mermaid # allows mermaid diagrams included in ```mermaid blocks in md
10
+ plugins:
11
+ - jekyll-datapage-generator # TODO investigate and document why this is here
12
+ - jemoji
13
+
14
+ # Configuration settings for the jekyll theme
15
+ base_url: "https://open-science.vliz.be/vliz-be-jekyll-theme/" # Base URI for your site, e.g. http://example.com/test-repo/ => for development leave empty for gh-pages fill in the name of the repo of not the main gh-pages repo
7
16
  title: "vliz-be jekyll theme" # Title of your site
17
+ share_enabled: true # Enables global share buttons to twitter (X), facebook, printer, email, linkedIn | default true
18
+
8
19
  social_media:
9
20
  - name: "twitter"
10
21
  url: "#placeholder"
@@ -17,3 +28,11 @@ social_media:
17
28
  - name: "boxu_test"
18
29
  url: "#placeholder"
19
30
  svg_path: "M248 0H208c-26.5 0-48 21.5-48 48V160c0 35.3 28.7 64 64 64H352c35.3 0 64-28.7 64-64V48c0-26.5-21.5-48-48-48H328V80c0 8.8-7.2 16-16 16H264c-8.8 0-16-7.2-16-16V0zM64 256c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H224c35.3 0 64-28.7 64-64V320c0-35.3-28.7-64-64-64H184v80c0 8.8-7.2 16-16 16H120c-8.8 0-16-7.2-16-16V256H64zM352 512H512c35.3 0 64-28.7 64-64V320c0-35.3-28.7-64-64-64H472v80c0 8.8-7.2 16-16 16H408c-8.8 0-16-7.2-16-16V256H352c-15 0-28.8 5.1-39.7 13.8c4.9 10.4 7.7 22 7.7 34.2V464c0 12.2-2.8 23.8-7.7 34.2C323.2 506.9 337 512 352 512z"
31
+
32
+ # Config settings for jekyll data page generator
33
+ page_gen:
34
+ - data: 'tools'
35
+ template: 'remote_md'
36
+ dir: 'tools'
37
+ name: 'title'
38
+ extension: '.html'
@@ -8,7 +8,13 @@
8
8
  </button>
9
9
  <div class="region region-header-branding">
10
10
  <div id="block-vlizbase-site-branding" class="block block-system block-system-branding-block">
11
- <a href="/" rel="home" title="">
11
+ <a href=
12
+ {% if site.base_url == "" %}
13
+ "/"
14
+ {% else %}
15
+ "{{ site.base_url }}"
16
+ {% endif %}
17
+ rel="home" title="">
12
18
  <svg width="187.046" height="118.179" viewBox="0 0 52.916667 42.333335" version="1.1" id="svg5"
13
19
  inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)" sodipodi:docname="VLIZ_LOGO_OpSci.svg"
14
20
  xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
@@ -90,12 +96,23 @@
90
96
  {% if item.items.size > 4 %}
91
97
 
92
98
  <li class="menu-item menu-item--expanded">
93
- <a href="{{subitem.url}}">{{subitem.title}}</a>
99
+ <a
100
+ href="{{subitem.url}}"
101
+ {% if subitem.url contains "http://" or "https://" %}
102
+ target="blank"
103
+ {% endif %}
104
+ >{{subitem.title}}
105
+ </a>
94
106
  {% if subitem.items %}
95
107
  <ul class="menu">
96
108
  {% for subsubitem in subitem.items %}
97
109
  <li class="menu-item">
98
- <a href="{{subsubitem.url}}">{{subsubitem.title}}</a>
110
+ <a
111
+ href="{{subsubitem.url}}"
112
+ {% if subsubitem.url contains "http://" or "https://" %}
113
+ target="blank"
114
+ {% endif %}
115
+ >{{subsubitem.title}}</a>
99
116
  </li>
100
117
  {% endfor %}
101
118
  </ul>
@@ -104,12 +121,22 @@
104
121
  {% else %}
105
122
  {% assign width = 100 | divided_by: item.items.size %}
106
123
  <li class="menu-item menu-item--expanded" style="width:{{width}}%">
107
- <a href="{{subitem.url}}">{{subitem.title}}</a>
124
+ <a
125
+ href="{{subitem.url}}"
126
+ {% if subitem.url contains "http://" or "https://" %}
127
+ target="blank"
128
+ {% endif %}
129
+ >{{subitem.title}}</a>
108
130
  {% if subitem.items %}
109
131
  <ul class="menu">
110
132
  {% for subsubitem in subitem.items %}
111
133
  <li class="menu-item">
112
- <a href="{{subsubitem.url}}">{{subsubitem.title}}</a>
134
+ <a
135
+ href="{{subsubitem.url}}"
136
+ {% if subsubitem.url contains "http://" or "https://" %}
137
+ target="blank"
138
+ {% endif %}
139
+ >{{subsubitem.title}}</a>
113
140
  </li>
114
141
  {% endfor %}
115
142
  </ul>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vliz-be-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - cedricdcc