Add 'extra_styles' to true base template
This commit is contained in:
parent
d8c4f92aa5
commit
457ce97f4e
|
@ -7,6 +7,7 @@
|
||||||
<link rel="icon" type="image/x-icon" href="${request.static_url('tailbone:static/img/rattail.ico')}" />
|
<link rel="icon" type="image/x-icon" href="${request.static_url('tailbone:static/img/rattail.ico')}" />
|
||||||
${self.core_javascript()}
|
${self.core_javascript()}
|
||||||
${self.core_styles()}
|
${self.core_styles()}
|
||||||
|
${self.extra_styles()}
|
||||||
${self.head_tags()}
|
${self.head_tags()}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -158,4 +159,6 @@
|
||||||
${h.stylesheet_link('https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.min.css')}
|
${h.stylesheet_link('https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.min.css')}
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
|
<%def name="extra_styles()"></%def>
|
||||||
|
|
||||||
<%def name="head_tags()"></%def>
|
<%def name="head_tags()"></%def>
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
|
|
||||||
<%def name="title()">Home</%def>
|
<%def name="title()">Home</%def>
|
||||||
|
|
||||||
<%def name="head_tags()">
|
<%def name="extra_styles()">
|
||||||
${parent.head_tags()}
|
${parent.extra_styles()}
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
.logo {
|
.logo {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
Loading…
Reference in a new issue