Browse Source

add copyright to the pages..

main
John-Mark Gurney 3 years ago
parent
commit
e1bfdc2cda
4 changed files with 13 additions and 2 deletions
  1. +4
    -0
      content/media/css/custom.css
  2. +3
    -2
      layout/base.j2
  3. +2
    -0
      layout/blog.j2
  4. +4
    -0
      layout/frontpage.j2

+ 4
- 0
content/media/css/custom.css View File

@@ -31,6 +31,10 @@ ul.posts > li {
text-indent: -1em; text-indent: -1em;
} }


.copyright {
margin-top: 2em;
}

.small { .small {
font-size: 80%; font-size: 80%;
} }


+ 3
- 2
layout/base.j2 View File

@@ -90,7 +90,6 @@
{% block main %} {% block main %}
{% endblock main %} {% endblock main %}
{% endblock container %} {% endblock container %}
<article>
<section> <section>
<footer> <footer>
<div class="footer tags prevnext"> <div class="footer tags prevnext">
@@ -102,10 +101,12 @@


</ul> </ul>


</div>
<div class="copyright">{% block copyright %}
{% endblock copyright %}
</div> </div>
</footer> </footer>
</section> </section>
</article>
</div> </div>
{% endblock content%} {% endblock content%}
{% block js %} {% block js %}


+ 2
- 0
layout/blog.j2 View File

@@ -53,3 +53,5 @@
</section> </section>


{%- endblock %} {%- endblock %}

{% block copyright -%}Copyright &copy; {{ resource.meta.created|date_format("%Y") }} John-Mark Gurney{%- endblock %}

+ 4
- 0
layout/frontpage.j2 View File

@@ -30,3 +30,7 @@
</section> </section>


{% endblock %} {% endblock %}

{% block copyright %}
Copyright &copy; {{ time_now|date_format("%Y") }} John-Mark Gurney
{% endblock %}

Loading…
Cancel
Save