mirror of
				https://git.kittycat.homes/zoe/hugo-battheme.git
				synced 2024-08-15 03:25:18 +00:00 
			
		
		
		
	clean up js, start adding hamburger
This commit is contained in:
		
							parent
							
								
									b8901b68d7
								
							
						
					
					
						commit
						137f5a2b05
					
				
					 11 changed files with 120 additions and 41 deletions
				
			
		|  | @ -1,5 +1,5 @@ | |||
| <footer class="colorswitch"> | ||||
| <span id="footer-left"></span> | ||||
|     <span id="footer-left"><a href="/" id="pageindicator" class="colorswitch" title="{{.Title}}"> {{.Site.Title | truncate 14}}</a></span> | ||||
| <span id="footer-center"> | ||||
| <nav id="footer-nav" aria-label="navigation"> | ||||
|     {{ $currentPage := . }} | ||||
|  | @ -10,6 +10,16 @@ | |||
| </span> | ||||
| <span id="footer-right"> | ||||
|         <input type="checkbox" id="darkmode-toggle" aria-label="darkmode toggle" class="toggleinput"> | ||||
|         <label class="togglelabel colorswitch" for="darkmode-toggle" aria-label="darkmode toggle" role="checkbox"></label> | ||||
|         <label class="togglelabel colorswitch" for="darkmode-toggle" aria-label="darkmode toggle" role="checkbox" id="darkmode-toggle-label"></label> | ||||
|         <button type="button" id="hamburger-button" class="colorswitch hamburger"></button> | ||||
|         <div class="hamburger colorswitch" id="hamburger-bg"> | ||||
| <nav id="footer-nav" aria-label="navigation"> | ||||
|     {{ $currentPage := . }} | ||||
|     {{ range .Site.Menus.nav }} | ||||
|     <a class="footer-nav-item{{if or ($currentPage.IsMenuCurrent "nav" .) ($currentPage.HasMenuCurrent "nav" .) }} active{{end}} colorswitch" href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a> | ||||
|     {{ end }} | ||||
| </nav> | ||||
| 
 | ||||
|         </div> | ||||
| </span> | ||||
| </footer> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue