mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	* website: add padding to home page * docs: slight touch ups to readme * website: reword/reformat content on home and getting started page * website: fix docs page layout - the sidenav for doc pages looks the same as the navbar. - it will be hidden by default on mobile. - sidenav looks like the navbar on mobile and is more seamless in general * docs: update description, logo, dont center badges * docs: fix badges * website: fix padding * website: add borders, add margins for sidenav * website: update description on homepage * website: add margins for blog list * chore: use new logo * docs: use logo and text combined for readme * docs: make logo bigger * website: use combined logo and text asset * docs: remove hilbish-text asset * website: fix navbar expand button * website: add more padding on doc pages * website(blog): add post about website improvements * website(blog): add post about website improvements * website: add more detail on the install page * website: add screenshots section * docs: fix up screenshots section * docs: remove toc and image alignment
		
			
				
	
	
		
			66 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			66 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {{ define "main" }}
 | |
| 	<style>
 | |
| 		@media (min-width: 768px) {
 | |
| 			.sidenav {
 | |
| 				width: 240px;
 | |
| 			}
 | |
| 		}
 | |
| 	</style>
 | |
| <div class="row">
 | |
| 	<nav class="navbar-expand-md bg-light sidenav border-end">
 | |
| 		<div class="container">
 | |
| 			<div class="collapse navbar-collapse" id="navbarSupportedContent">
 | |
| 				<nav class="navbar navbar-expand-md bg-light sidenav col" style="margin-top: -20px;">
 | |
| 					<ul class="navbar-nav me-auto mb-2 mb-lg-0 flex-column col mt-4">
 | |
| 						{{ $currentPage := . }}
 | |
| 						{{ range .Site.Menus.docs.ByWeight.Reverse }}
 | |
| 							<li class="nav-item">
 | |
| 								<a href="{{ .URL }}" class="nav-link">
 | |
| 									<strong>{{ .Title }}</strong>
 | |
| 								</a>
 | |
| 							</li>
 | |
| 							{{ if .Children }}
 | |
| 								<ul style="list-style: none;">
 | |
| 									{{ range .Children }}
 | |
| 										<li class="nav-item">
 | |
| 											<a href="{{ .URL }}" class="nav-link">
 | |
| 												{{ .Title }}
 | |
| 											</a>
 | |
| 										</li>
 | |
| 									{{ end }}
 | |
| 								</ul>
 | |
| 							{{ end }}
 | |
| 						{{ end }}
 | |
| 					</ul>
 | |
| 				</nav>
 | |
| 			</div>
 | |
| 		</div>
 | |
| 	</nav>
 | |
| 
 | |
| 	<container class="col mt-2" style="padding-left: 20px; padding-right: 20px;">
 | |
| 		<div>
 | |
| 			<h1>{{ .Title }}</h1>
 | |
| 			<p><em>
 | |
| 			{{ $date := .Date.UTC.Format "Jan 2, 2006" }}
 | |
| 			{{ $lastmod := .Lastmod.UTC.Format "Jan 2, 2006" }}
 | |
| 			{{ if and (ne $lastmod $date) (gt .Lastmod .Date) }}
 | |
| 				Last updated {{ $lastmod }}<br>
 | |
| 			{{ end }}
 | |
| 
 | |
| 			{{ if .Description }}
 | |
| 				{{ .Description }}<br>
 | |
| 			{{ end}}
 | |
| 			</em></p>
 | |
| 			{{.Content}}
 | |
| 		</div>
 | |
| 
 | |
| 		<div class="footer mt-auto">
 | |
| 			<p class="card-small text-muted">
 | |
| 				Want to help improve this page? <a href="https://github.com/Rosettea/Hilbish/issues/new/choose">Create an issue.</a>
 | |
| 			</p>
 | |
| 		</div>
 | |
| 	</container>
 | |
| </div>
 | |
| {{ end }}
 | |
| 
 |