40 lines
		
	
	
	
		
			1.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
	
		
			1.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!doctype html>
 | |
| 
 | |
| {% if title %}
 | |
|   {% set pagetitle = title %}
 | |
| {% else %}
 | |
|   {% set pagetitle = page.fileSlug %}
 | |
| {% endif %}
 | |
| 
 | |
| <html>
 | |
| <head>
 | |
|   <title>Portfolio - {{ pagetitle | capitalize }}</title>
 | |
|   <meta charset="UTF-8">
 | |
|   <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | |
| 
 | |
|   <meta property="og:title" content="Portfolio - {{ pagetitle | capitalize }}" />
 | |
|   <meta property="og:description" content="{{ description }}" />
 | |
| 
 | |
|   <link href="/styles.css" rel="stylesheet">
 | |
|   <link href="https://unpkg.com/prismjs@1.20.0/themes/prism-okaidia.css" rel="stylesheet">
 | |
| 
 | |
|   <link rel="apple-touch-icon" sizes="180x180" href="/img/site/favicons/apple-touch-icon.png">
 | |
|   <link rel="icon" type="image/png" sizes="32x32" href="/img/site/favicons/favicon-32x32.png">
 | |
|   <link rel="icon" type="image/png" sizes="16x16" href="/img/site/favicons/favicon-16x16.png">
 | |
|   <link rel="manifest" href="/img/site/favicons/site.webmanifest">
 | |
| </head>
 | |
| 
 | |
| <body class="bg-slate-950" style="background-image: url('/img/site/stars.gif')">
 | |
|   <header class="bg-slate-900/50 bg-contain bg-left bg-no-repeat justify-end flex h-80" style="background-image: url('/img/site/falling.gif')">
 | |
|     <nav class="inline-flex flex-col relative my-auto">
 | |
|       {%- for navItem in navigation -%}
 | |
|         <a
 | |
|           href="{{navItem.url}}"
 | |
|           class="{% if page.url == navItem.url %} border-rose-700 text-slate-100 {% else %} border-transparent hover:border-rose-950 active:border-rose-950 text-slate-500 hover:text-slate-400 active:text-slate-400 {% endif %} inline-flex items-center pl-1 pr-4 pt-1 border-b-2 text-lg font-medium focus:outline-link"
 | |
|           {% if page.url == navItem.url %}aria-current="page"{% endif %}
 | |
|         >
 | |
|           {{navItem.title}}
 | |
|         </a>
 | |
|       {%- endfor -%}
 | |
|     </nav>
 | |
|   </header>
 | 
