From 9d73abf3cdaa2d00d0f88428bd1b29b9b8a15d76 Mon Sep 17 00:00:00 2001
From: sihombing <rosanny.sihombing@hft-stuttgart.de>
Date: Mon, 10 May 2021 16:37:02 +0000
Subject: [PATCH] update path

---
 README.md                                                 | 1 -
 ckanext-theme_hft/ckanext/theme_hft/assets/theme.css      | 2 +-
 ckanext-theme_hft/ckanext/theme_hft/assets/webassets.yml  | 3 +--
 ckanext-theme_hft/ckanext/theme_hft/templates/footer.html | 4 ++--
 4 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index 4fdcff5..3c34d0d 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,6 @@ The extension and files for the customization are structured as follows in the *
 1. Run the following command to create a new extension and place its directory in the **`ckan`** source code's parent directory:
    > ckan generate extension
    - New extension name: _`ckanext-theme_hft`_
-   - theme name: _`theme_hft`_
 1. Put the files in this repo to the their respective directories.
 1. Go to **`ckanext-theme_hft`** directory and run the following command:
    > python setup.py develop
diff --git a/ckanext-theme_hft/ckanext/theme_hft/assets/theme.css b/ckanext-theme_hft/ckanext/theme_hft/assets/theme.css
index f85eb37..7c47620 100644
--- a/ckanext-theme_hft/ckanext/theme_hft/assets/theme.css
+++ b/ckanext-theme_hft/ckanext/theme_hft/assets/theme.css
@@ -30,7 +30,7 @@
 
 @media (min-width: 768px) {
   .hero {
-    background: url("/header.jpg");
+    background: url("https://m4lab.hft-stuttgart.de/katalog/header.jpg");
   }
 }
 
diff --git a/ckanext-theme_hft/ckanext/theme_hft/assets/webassets.yml b/ckanext-theme_hft/ckanext/theme_hft/assets/webassets.yml
index c1b5cc3..ad0ffa0 100644
--- a/ckanext-theme_hft/ckanext/theme_hft/assets/webassets.yml
+++ b/ckanext-theme_hft/ckanext/theme_hft/assets/webassets.yml
@@ -1,4 +1,3 @@
 theme:
-  filters: cssrewrite
-  output: katalog/assets/%(version)s_theme.css
+  output: theme_hft/theme.css
   contents: theme.css
diff --git a/ckanext-theme_hft/ckanext/theme_hft/templates/footer.html b/ckanext-theme_hft/ckanext/theme_hft/templates/footer.html
index 23f08fa..9a38d97 100644
--- a/ckanext-theme_hft/ckanext/theme_hft/templates/footer.html
+++ b/ckanext-theme_hft/ckanext/theme_hft/templates/footer.html
@@ -4,10 +4,10 @@
 {% block footer_content %}
 	<div class="row">
 		<div class="col-md-4 attribution">
-			<img src="/Innovative_Hochschule_Initiative_BMBF_GWK_RGB.png" height='90'/>
+			<img src="https://m4lab.hft-stuttgart.de/img/footer/Innovative_Hochschule_Initiative_BMBF_GWK_RGB.png" height='90'/>
 		</div>
 		<div class="col-md-2 attribution">
-			<img src="/M4_LAB_LOGO_Graustufen.png" height='80'/>
+			<img src="https://m4lab.hft-stuttgart.de/img/footer/M4_LAB_LOGO_Graustufen.png" height='80'/>
 		</div>
 		<div class="col-md-3 footer-links">
 			<a href="https://twitter.com/InnolabM4">
-- 
GitLab