38 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
<body class="{{ .Type }}">
 | 
						|
<div class="mdl-layout mdl-js-layout
 | 
						|
        mdl-layout--fixed-header">
 | 
						|
    <header class="mdl-layout__header site-header">
 | 
						|
        <div class="mdl-layout__header-row">
 | 
						|
            <!-- Title -->
 | 
						|
            <a href="/" class="mdl-layout-title">
 | 
						|
                <img class="logo" src="/images/logo2.webp" height="50" width="auto" alt="ShowerLoop Logo">
 | 
						|
            </a>
 | 
						|
            <!-- Add spacer, to align navigation to the right -->
 | 
						|
            <div class="mdl-layout-spacer"></div>
 | 
						|
            <!-- Navigation. We hide it in small screens. -->
 | 
						|
            <nav class="mdl-navigation mdl-layout--large-screen-only">
 | 
						|
                {{ $currentPage := . }}
 | 
						|
                {{ range .Site.Menus.main }}
 | 
						|
                {{ if eq .Name "Make It" }}
 | 
						|
                <a class="mdl-navigation__link mdl-button mdl-js-button mdl-button--raised mdl-button--colored" href="{{ .URL | safeURL }}" title="{{ .Title }}">{{ .Name }}</a>
 | 
						|
                {{ else }}
 | 
						|
                <a class="mdl-navigation__link" href="{{ .URL | safeURL }}" title="{{ .Title }}">{{ .Name }}</a>
 | 
						|
                {{ end }}
 | 
						|
                {{ end }}
 | 
						|
                <!-- <a class="mdl-navigation__link mdl-button mdl-js-button mdl-button--raised mdl-button--colored support-btn" tabindex="0">Support Us</a> -->
 | 
						|
            </nav>
 | 
						|
        </div>
 | 
						|
    </header>
 | 
						|
    <div class="mdl-layout__drawer">
 | 
						|
        <span class="mdl-layout-title"><strong>ShowerLoop</strong></span>
 | 
						|
        <nav class="mdl-navigation">
 | 
						|
            {{ $currentPage := . }}
 | 
						|
            {{ range .Site.Menus.main }}
 | 
						|
            {{ if eq .Name "Make It" }}
 | 
						|
            <a class="mdl-navigation__link mdl-button mdl-js-button mdl-button--raised mdl-button--colored" href="{{ .URL | safeURL }}" title="{{ .Title }}" tabindex="0">{{ .Name }}</a>
 | 
						|
            {{ else }}
 | 
						|
            <a class="mdl-navigation__link" href="{{ .URL | safeURL }}" title="{{ .Title }}" tabindex="0">{{ .Name }}</a>
 | 
						|
            {{ end }}
 | 
						|
            {{ end }}
 | 
						|
        </nav>
 | 
						|
    </div> |