Re-arrange _includes templates
This commit is contained in:
		
							parent
							
								
									eb8aba3224
								
							
						
					
					
						commit
						6b8dfa650c
					
				| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
module.exports = {
 | 
			
		||||
  siteName: "gils.nexus",
 | 
			
		||||
  siteDescription: "",
 | 
			
		||||
  authorName: "",
 | 
			
		||||
  authorName: "gil",
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,17 +1,12 @@
 | 
			
		|||
<!DOCTYPE html>
 | 
			
		||||
<!doctype html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
  <head>
 | 
			
		||||
    <meta charset="UTF-8" />
 | 
			
		||||
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
 | 
			
		||||
    <title>{% if title %}{{ title }} | {% endif %}{{ meta.siteName }}</title>
 | 
			
		||||
    <link rel="stylesheet" href="/css/global.css">
 | 
			
		||||
    <link rel="stylesheet" href="/css/global.css" />
 | 
			
		||||
  </head>
 | 
			
		||||
  <body>
 | 
			
		||||
    <header>
 | 
			
		||||
      <h1>{{ title }}</h1>
 | 
			
		||||
    </header>
 | 
			
		||||
    <main>
 | 
			
		||||
      {{ content | safe }}
 | 
			
		||||
    </main>
 | 
			
		||||
    {{ content | safe }}
 | 
			
		||||
  </body>
 | 
			
		||||
</html>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								src/_includes/footer.njk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								src/_includes/footer.njk
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
<footer></footer>
 | 
			
		||||
							
								
								
									
										3
									
								
								src/_includes/header.njk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								src/_includes/header.njk
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
<header>
 | 
			
		||||
  <h1>{{ title or meta.siteName }}</h1>
 | 
			
		||||
</header>
 | 
			
		||||
							
								
								
									
										8
									
								
								src/_includes/page.njk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								src/_includes/page.njk
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
---
 | 
			
		||||
layout: base.njk
 | 
			
		||||
---
 | 
			
		||||
{% include "header.njk" %}
 | 
			
		||||
<main>
 | 
			
		||||
{{ content | safe }}
 | 
			
		||||
</main>
 | 
			
		||||
{% include "footer.njk" %}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
---
 | 
			
		||||
title: Cebuano
 | 
			
		||||
layout: base.njk
 | 
			
		||||
layout: page.njk
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
[← Home](/)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										16
									
								
								src/index.md
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								src/index.md
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -1,12 +1,9 @@
 | 
			
		|||
---
 | 
			
		||||
title: gils.nexus
 | 
			
		||||
layout: base.njk
 | 
			
		||||
layout: page.njk
 | 
			
		||||
date: Last Modified
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
hello! my name is gil and this is my site. pronouns are he/they. i write and
 | 
			
		||||
tinker with software/hardware. i don't have much to put here except
 | 
			
		||||
links (for now).
 | 
			
		||||
hello! my name is gil and this is my site. pronouns are he/they. i write and tinker with software/hardware. i don't have much to put here except links (for now).
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -20,12 +17,9 @@ links (for now).
 | 
			
		|||
 | 
			
		||||
## Links
 | 
			
		||||
 | 
			
		||||
[hol.ogra.ph](https://hol.ogra.ph/@gil) — federated
 | 
			
		||||
microblogging (i'm a co-admin here!)  
 | 
			
		||||
[pixelfed.social](https://pixelfed.social/kalanggam) —
 | 
			
		||||
federated photo and video sharing  
 | 
			
		||||
[beehaw](https://beehaw.org/u/kalanggam) — federated link
 | 
			
		||||
aggregator/discussions  
 | 
			
		||||
[hol.ogra.ph](https://hol.ogra.ph/@gil) — federated microblogging (i'm a co-admin here!)  
 | 
			
		||||
[pixelfed.social](https://pixelfed.social/kalanggam) — federated photo and video sharing  
 | 
			
		||||
[beehaw](https://beehaw.org/u/kalanggam) — federated link aggregator/discussions  
 | 
			
		||||
[bookwyrm.social](https://bookwyrm.social/user/kalanggam) — federated book reviews
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
---
 | 
			
		||||
title: Now
 | 
			
		||||
layout: base.njk
 | 
			
		||||
layout: page.njk
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
Hello!
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
---
 | 
			
		||||
title: Poetry
 | 
			
		||||
layout: base.njk
 | 
			
		||||
layout: page.njk
 | 
			
		||||
permalink: /poetry/index.html
 | 
			
		||||
override:tags: []
 | 
			
		||||
---
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
{
 | 
			
		||||
  "layout": "base.njk",
 | 
			
		||||
  "layout": "page.njk",
 | 
			
		||||
  "permalink": "/poem/{{ page.fileSlug }}/",
 | 
			
		||||
  "tags": "poems"
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in a new issue