diff --git a/_config.yml b/_config.yml index 5865dc75e..1ecac38b8 100644 --- a/_config.yml +++ b/_config.yml @@ -2,10 +2,6 @@ title: JKAN description: A lightweight, backend-free open data portal, powered by Jekyll. baseurl: /jkan -# GitHub Repo Info -repository_owner: timwis -repository_name: jkan - # Authentication github_client_id: gatekeeper_host: @@ -27,6 +23,9 @@ category_list: - Transportation - Uncategorized +# Link for the "fork me on github" banner. Remove this line to suppress banner. +fork_me_url: https://github.com/timwis/jkan + # Nav bar navigation: - title: Datasets diff --git a/_includes/head.html b/_includes/head.html index f0cbebbea..d76fcf55d 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -20,8 +20,8 @@ FILE_PATH: {{ page.path | jsonify }}, DATASETS_DIR: {{ datasets.relative_directory | jsonify }}, BRANCH: {% if site.github.is_user_page %}"master"{% else %}"gh-pages"{% endif %}, - REPO_OWNER: {{ site.github.owner_name | default: site.repository_owner | jsonify }}, - REPO_NAME: {{ site.github.project_title | default: site.repository_name | jsonify }}, + REPO_OWNER: {{ site.github.owner_name | jsonify }}, + REPO_NAME: {{ site.github.project_title | jsonify }}, GITHUB_CLIENT_ID: {{ site.github_client_id | jsonify }}, GATEKEEPER_HOST: {{ site.gatekeeper_host | jsonify }} } diff --git a/_layouts/dataset.html b/_layouts/dataset.html index d9f1b625e..e3d1bfe6a 100644 --- a/_layouts/dataset.html +++ b/_layouts/dataset.html @@ -27,7 +27,7 @@

Edit + Edit

{{ page.notes }}

diff --git a/index.html b/index.html index e805c815d..e90375c83 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,9 @@ layout: default --- -Fork me on GitHub +{% if site.fork_me_url %} +Fork me on GitHub +{% endif %}

Welcome to {{ site.title }}