From dc080f8fe2697569923ed326f8080cb0baedc46b Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 18 Apr 2015 11:53:48 +0200 Subject: some rearrangement --- templates/intro.tmpl | 8 +++++--- templates/main.tmpl | 26 ++++++++++++++++++++++---- 2 files changed, 27 insertions(+), 7 deletions(-) (limited to 'templates') diff --git a/templates/intro.tmpl b/templates/intro.tmpl index b99ea06..eb7fa49 100644 --- a/templates/intro.tmpl +++ b/templates/intro.tmpl @@ -1,13 +1,15 @@ -<% c++ #include "content.hpp" %> +<% c++ #include "intro_content.hpp" %> <% skin view %> -<% view intro uses content::master extends master %> +<% view intro uses content::intro extends master %> <% template title() %> <% include master::title() %> :: Intro <% end %> <% template page_content() %> - Welcome to StrusCms. +
+ Welcome to StrusCms. +
<% end template %> <% end view %> diff --git a/templates/main.tmpl b/templates/main.tmpl index 8e4592f..0d949d7 100644 --- a/templates/main.tmpl +++ b/templates/main.tmpl @@ -9,12 +9,30 @@ <% include title( ) %> + + -

<% include title( ) %>

-
- <% include page_content( ) %> -
+
+

<% include title( ) %>

+
+ <% include page_content( ) %> + +

© 2015 Patrick Frey
+ Template design by Andreas Viklund / Best hosted at www.svenskadomaner.se

+ +
+ + + <% end template %> -- cgit v1.2.3-54-g00ecf