Show page updates in footer
This commit is contained in:
		@@ -104,7 +104,7 @@ nav {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
main {
 | 
					main {
 | 
				
			||||||
	margin-bottom: 5rem;
 | 
						margin-bottom: 2rem;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	h1, h2, h3, h4, h5, h6 {
 | 
						h1, h2, h3, h4, h5, h6 {
 | 
				
			||||||
		margin-top: 1.5em;
 | 
							margin-top: 1.5em;
 | 
				
			||||||
@@ -117,7 +117,7 @@ main {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	.info {
 | 
						.info {
 | 
				
			||||||
		border-top: 1px solid #eee;
 | 
							border-top: 1px solid #eee;
 | 
				
			||||||
		margin: 2em 0;
 | 
							margin-top: 2em;
 | 
				
			||||||
		padding: 1em 0;
 | 
							padding: 1em 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		ul {
 | 
							ul {
 | 
				
			||||||
@@ -131,6 +131,12 @@ main {
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						.updates ul {
 | 
				
			||||||
 | 
							margin-top: .5em;
 | 
				
			||||||
 | 
							padding: 0;
 | 
				
			||||||
 | 
							list-style-type: none;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	img {
 | 
						img {
 | 
				
			||||||
		max-width: 100%;
 | 
							max-width: 100%;
 | 
				
			||||||
		box-sizing: border-box;
 | 
							box-sizing: border-box;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -34,6 +34,19 @@
 | 
				
			|||||||
	{% endif %}
 | 
						{% endif %}
 | 
				
			||||||
{% endmacro %}
 | 
					{% endmacro %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					{% macro page_updates(page) %}
 | 
				
			||||||
 | 
						{% if page.extra.updates %}
 | 
				
			||||||
 | 
							<div class="updates">
 | 
				
			||||||
 | 
								Page updates:
 | 
				
			||||||
 | 
								<ul>
 | 
				
			||||||
 | 
									{% for update in page.extra.updates %}
 | 
				
			||||||
 | 
										<li>{{ update.date }} — {{ update.description }}</li>
 | 
				
			||||||
 | 
									{% endfor %}
 | 
				
			||||||
 | 
								</ul>
 | 
				
			||||||
 | 
							</div>
 | 
				
			||||||
 | 
						{% endif %}
 | 
				
			||||||
 | 
					{% endmacro %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% macro toc() %}
 | 
					{% macro toc() %}
 | 
				
			||||||
	{% if page.toc and not page.extra.notoc %}
 | 
						{% if page.toc and not page.extra.notoc %}
 | 
				
			||||||
		<ul>
 | 
							<ul>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,4 +9,5 @@
 | 
				
			|||||||
	{{ macros::toc() }}
 | 
						{{ macros::toc() }}
 | 
				
			||||||
	{{ page.content | safe }}
 | 
						{{ page.content | safe }}
 | 
				
			||||||
	{{ macros::page_info(page=page) }}
 | 
						{{ macros::page_info(page=page) }}
 | 
				
			||||||
 | 
						{{ macros::page_updates(page=page) }}
 | 
				
			||||||
{% endblock content %}
 | 
					{% endblock content %}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user