Skip to content

Instantly share code, notes, and snippets.

@fulv
Created November 10, 2015 18:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fulv/69d4e05a9955e12b1e89 to your computer and use it in GitHub Desktop.
Save fulv/69d4e05a9955e12b1e89 to your computer and use it in GitHub Desktop.
[theme]
title = plonetheme.tango
description = An example diazo theme
rules = /++theme++plonetheme.tango/rules.xml
prefix = /++theme++plonetheme.tango
doctype = <!DOCTYPE html>
enabled-bundles =
disabled-bundles =
development-css = /++theme++plonetheme.tango/css/main.less
production-css = /++theme++plonetheme.tango/css/tango-compiled.css
tinymce-content-css = /++theme++plonetheme.tango/css/business-casual.css
[theme:overrides]
directory = template-overrides
[theme:parameters]
ajax_load = python: request.form.get('ajax_load')
portal_url = python: portal.absolute_url()
<?xml version="1.0"?>
<registry>
<records prefix="plone.resources/tango-main"
interface='Products.CMFPlone.interfaces.IResourceRegistry'>
<value key="css">
<element>++theme++plonetheme.tango/css/main.less</element>
</value>
<value key="js">++theme++plonetheme.tango/js/bundle.js</value>
</records>
<!-- bundle definition -->
<records prefix="plone.bundles/tango-bundle"
interface='Products.CMFPlone.interfaces.IBundleRegistry'>
<value key="resources">
<element>tango-main</element>
</value>
<value key="enabled">True</value>
<value key="compile">True</value>
<value key="jscompilation">++theme++plonetheme.tango/js/bundle-compiled.js</value>
<value key="csscompilation">++theme++plonetheme.tango/css/tango-compiled.css</value>
<value key="last_compilation"></value>
</records>
</registry>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment