This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
blog
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
add copyright to the pages..
main
John-Mark Gurney
4 years ago
parent
b05d8d01d2
commit
e1bfdc2cda
4 changed files
with
13 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
content/media/css/custom.css
+3
-2
layout/base.j2
+2
-0
layout/blog.j2
+4
-0
layout/frontpage.j2
+ 4
- 0
content/media/css/custom.css
View File
@@ -31,6 +31,10 @@ ul.posts > li {
text-indent: -1em;
}
.copyright {
margin-top: 2em;
}
.small {
font-size: 80%;
}
+ 3
- 2
layout/base.j2
View File
@@ -90,7 +90,6 @@
{% block main %}
{% endblock main %}
{% endblock container %}
<article>
<section>
<footer>
<div class="footer tags prevnext">
@@ -102,10 +101,12 @@
</ul>
</div>
<div class="copyright">{% block copyright %}
{% endblock copyright %}
</div>
</footer>
</section>
</article>
</div>
{% endblock content%}
{% block js %}
+ 2
- 0
layout/blog.j2
View File
@@ -53,3 +53,5 @@
</section>
{%- endblock %}
{% block copyright -%}Copyright © {{ resource.meta.created|date_format("%Y") }} John-Mark Gurney{%- endblock %}
+ 4
- 0
layout/frontpage.j2
View File
@@ -30,3 +30,7 @@
</section>
{% endblock %}
{% block copyright %}
Copyright © {{ time_now|date_format("%Y") }} John-Mark Gurney
{% endblock %}
Write
Preview
Loading…
Cancel
Save