File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -179,14 +179,9 @@ The Table shows the realization of exposed concepts.
179179 {% endfor % }
180180 ];
181181</script >
182- {%- assign basePath = "" %}
183- {%- if site.plugin_script_base_path %}
184- {%- assign basePath = site.plugin_script_base_path %}
185- {%- elsif site.baseurl and site.baseurl.size > 0 %}
186- {%- assign basePath = site.baseurl %}
187- {%- endif %}
182+
188183 {%- assign cacheBuster = site.time | date: "%Y%m%d%H%M%S" %}
189- <script src =" {{ basePath }}/assets/js/examplegallery.js?v={{ cacheBuster }} " ></script >
184+ <script src =" {{ site.baseurl }}/assets/js/examplegallery.js?v={{ cacheBuster }} " ></script >
190185
191186{% else %}
192187<p >No examples available.</p >
Original file line number Diff line number Diff line change 55 {%- assign basePath = "" %}
66 {%- endif %}
77 {%- assign cacheBuster = site.time | date: "%Y%m%d%H%M%S" %}
8- < script src ="{{ basePath }}/assets/js/site_constants.js?v={{ cacheBuster }} "> </ script >
8+ < script src ="{{ site.baseurl }}/assets/js/site_constants.js?v={{ cacheBuster }} "> </ script >
99 < div id ="plugin-version-menu " class ="site-footer "> </ div >
10- < script src ="{{ basePath }}/assets/js/plugin_versions_menu.js?v={{ cacheBuster }} "> </ script >
11- < script src ="{{ basePath }}/assets/js/annotations.js?v={{ cacheBuster }} "> </ script >
10+ < script src ="{{ site.baseurl }}/assets/js/plugin_versions_menu.js?v={{ cacheBuster }} "> </ script >
11+ < script src ="{{ site.baseurl }}/assets/js/annotations.js?v={{ cacheBuster }} "> </ script >
1212 < div style ="flex: 0 1 200px "> < A href ="https://gfse.org "> < img src ="{{ basePath }}/assets/images/gfse-logo.png " alt ="GfSE-Logo " style ="height:100% "/> </ A > </ div >
1313
Original file line number Diff line number Diff line change 2121| --- | --- | --- |
2222| {{ domainlink }}| {{ aspectlink }}| {{ maturityimage }}{{ maturitylink }}|
2323
24+ Test:
25+
26+ Site.BaseURL = {{ site.baseurl }}
27+
28+ basePath = {{ basePath }}
2429
2530## Example
2631{% assign examples = md_examples |concat: rhy_examples |concat: ea_examples %}
5964 {% endfor % }
6065 ];
6166</script >
62- {%- assign basePath = "" %}
63- {%- if site.plugin_script_base_path %}
64- {%- assign basePath = site.plugin_script_base_path %}
65- {%- elsif site.baseurl and site.baseurl.size > 0 %}
66- {%- assign basePath = site.baseurl %}
67- {%- endif %}
67+
6868 {%- assign cacheBuster = site.time | date: "%Y%m%d%H%M%S" %}
69- <script src =" {{ basePath }}/assets/js/examplegallery.js?v={{ cacheBuster }} " ></script >
69+ <script src =" {{ site.baseurl }}/assets/js/examplegallery.js?v={{ cacheBuster }} " ></script >
7070
7171{% else %}
7272<p >No examples available.</p >
You can’t perform that action at this time.
0 commit comments