Link to Git repository in header
This commit is contained in:
		@@ -21,3 +21,4 @@ nav = [
 | 
				
			|||||||
	{title = "All posts", path = "/posts/"}
 | 
						{title = "All posts", path = "/posts/"}
 | 
				
			||||||
]
 | 
					]
 | 
				
			||||||
latest_posts_count = 3
 | 
					latest_posts_count = 3
 | 
				
			||||||
 | 
					repository_url = "https://git.microlab.space/em/em.0x45.cz"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,7 +13,9 @@
 | 
				
			|||||||
		<div class="wrap">
 | 
							<div class="wrap">
 | 
				
			||||||
			<a href="{{ config.base_url }}" class="title">{{ config.title }}</a>
 | 
								<a href="{{ config.base_url }}" class="title">{{ config.title }}</a>
 | 
				
			||||||
			<nav>
 | 
								<nav>
 | 
				
			||||||
				<a href="">Source</a>,
 | 
									{% if config.extra.repository_url %}
 | 
				
			||||||
 | 
										<a href="{{ config.extra.repository_url }}">Source</a>,
 | 
				
			||||||
 | 
									{% endif %}
 | 
				
			||||||
				<a href="{{ get_url(path="/posts/atom.xml", trailing_slash=false) }}">RSS/Atom</a>
 | 
									<a href="{{ get_url(path="/posts/atom.xml", trailing_slash=false) }}">RSS/Atom</a>
 | 
				
			||||||
			</nav>
 | 
								</nav>
 | 
				
			||||||
		</div>
 | 
							</div>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user