Skip to content

Commit

Permalink
adapt to pages with dns
Browse files Browse the repository at this point in the history
  • Loading branch information
haarer committed Oct 26, 2024
1 parent f17ffd4 commit 3953ed1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ jobs:
if [[ -n "${TARGET_FOLDER}" ]]
then
echo "baseurl: /${REPO_NAME}/version/${TARGET_FOLDER}" >> ${TEMP_CONFIG}
#echo "baseurl: /${REPO_NAME}/version/${TARGET_FOLDER}" >> ${TEMP_CONFIG}
echo "baseurl: /version/${TARGET_FOLDER}" >> ${TEMP_CONFIG}
else
#echo "baseurl: /${REPO_NAME}" >> ${TEMP_CONFIG}
echo "baseurl: /" >> ${TEMP_CONFIG}
Expand Down
2 changes: 1 addition & 1 deletion src/_includes/header_custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{%- if site.plugin_script_base_path %}
{%- assign basePath = site.plugin_script_base_path %}
{%- elsif site.baseurl.size != 0 %}
{%- assign basePath = "/SAF-Specification" %}
{%- assign basePath = "" %}
{%- endif %}
<script src="{{ basePath }}/assets/js/site_constants.js"></script>
<div id="plugin-version-menu" class="site-footer"></div>
Expand Down

0 comments on commit 3953ed1

Please sign in to comment.