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')}" />
|
||||
${self.core_javascript()}
|
||||
${self.core_styles()}
|
||||
${self.extra_styles()}
|
||||
${self.head_tags()}
|
||||
</head>
|
||||
|
||||
|
@ -158,4 +159,6 @@
|
|||
${h.stylesheet_link('https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.min.css')}
|
||||
</%def>
|
||||
|
||||
<%def name="extra_styles()"></%def>
|
||||
|
||||
<%def name="head_tags()"></%def>
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
<%def name="title()">Home</%def>
|
||||
|
||||
<%def name="head_tags()">
|
||||
${parent.head_tags()}
|
||||
<%def name="extra_styles()">
|
||||
${parent.extra_styles()}
|
||||
<style type="text/css">
|
||||
.logo {
|
||||
text-align: center;
|
||||
|
|
Loading…
Reference in a new issue