+ cms/ungleich.ch/blog.html:
This template should only be used
to page with the Blog application set.
Although it doesn't declare anything special
than exposing the content block.
+ cms/ungleich.ch/index.html: Not used. Example?
+ cms/ungleich.ch/page.html:
A template for generic pages, it only declares
a placeholder inside the base_content where
you should but the content for the page.
+ cms/ungleich.ch/__init__.py
See documentation for django cms regarding
template_dirs settings option.
Used for namespacing and order.
Signed-off-by: rscnt <rascnt@gmail.com>
+ cms/ungleich.ch/blog.html:
This template should only be used
to page with the Blog application set.
Although it doesn't declare anything special
than exposing the content block.
+ cms/ungleich.ch/index.html: Not used. Example?
+ cms/ungleich.ch/page.html:
A template for generic pages, it only declares
a placeholder inside the base_content where
you should but the content for the page.
+ cms/ungleich.ch/__init__.py
See documentation for django cms regarding
template_dirs settings option.
Used for namespacing and order.
Signed-off-by: rscnt <rascnt@gmail.com>
This template holds the base structure for
every page in the site.
It expose the following blocks:
+ base_header:
This block is used to display the big banner
and title image for the main style of the site.
When overriding this block always prefere the use
of include, since the amount of markup needed for
the header is quite a lot.
For an example of what should be in this block
look at: cms/ungleich.ch/_header_base.html.
+ block_content:
Holds the main content for the page, it delcares a
placeholder "default".
This commit also includes the following templates:
cms/ungleich.ch/_footer.html:
Markup for the footer of the page.
TODO: Social links.
cms/ungleich.ch/_header_base.html:
Markup for the big image with the title and
summary of the page.
cms/ungleich.ch/_menu.html:
Markup for the main navigation markup for the
entire site.
And the required static files.
Signed-off-by: rscnt <rascnt@gmail.com>
This template holds the base structure for
every page in the site.
It expose the following blocks:
+ base_header:
This block is used to display the big banner
and title image for the main style of the site.
When overriding this block always prefere the use
of include, since the amount of markup needed for
the header is quite a lot.
For an example of what should be in this block
look at: cms/ungleich.ch/_header_base.html.
+ block_content:
Holds the main content for the page, it delcares a
placeholder "default".
This commit also includes the following templates:
cms/ungleich.ch/_footer.html:
Markup for the footer of the page.
TODO: Social links.
cms/ungleich.ch/_header_base.html:
Markup for the big image with the title and
summary of the page.
cms/ungleich.ch/_menu.html:
Markup for the main navigation markup for the
entire site.
And the required static files.
Signed-off-by: rscnt <rascnt@gmail.com>
Ungleich app has a model called UngleichPage,
this model has an attribute called image_header
which will be used to set the background image for
the page header.
Signed-off-by: rscnt <rascnt@gmail.com>
Ungleich app has a model called UngleichPage,
this model has an attribute called image_header
which will be used to set the background image for
the page header.
Signed-off-by: rscnt <rascnt@gmail.com>
The migrations for the new version of
django-cms were in cms/migrations/* not
cms/migrations_django/* .
- Fixed: local_settings import.
Signed-off-by: rscnt <rascnt@gmail.com>
The migrations for the new version of
django-cms were in cms/migrations/* not
cms/migrations_django/* .
- Fixed: local_settings import.
Signed-off-by: rscnt <rascnt@gmail.com>