Skip to content

Commit

Permalink
Add Sugarland theme (#47)
Browse files Browse the repository at this point in the history
* Sugarland theme added

* Updating CSS

* Small imprvoements

* Fix account header

* Fix menus colors

* Update compressed header

* Smaller image
  • Loading branch information
tino097 authored Dec 6, 2023
1 parent 6489ce4 commit 768b1cb
Show file tree
Hide file tree
Showing 12 changed files with 671 additions and 0 deletions.
Empty file.
12 changes: 12 additions & 0 deletions ckanext/opendata_theme/extended_themes/sugarland/plugin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import ckan.plugins as plugins
import ckan.plugins.toolkit as toolkit


class OpenDataThemePlugin(plugins.SingletonPlugin):
plugins.implements(plugins.IConfigurer)

# IConfigurer

def update_config(self, config):
toolkit.add_template_directory(config, 'templates')
toolkit.add_public_directory(config, 'public')
Loading

0 comments on commit 768b1cb

Please sign in to comment.