first commit
This commit is contained in:
		
						commit
						a3fbd984f7
					
				
							
								
								
									
										10
									
								
								.eleventy.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								.eleventy.js
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
module.exports = function (eleventyConfig) {
 | 
			
		||||
  eleventyConfig.addPassthroughCopy("./src/style.css");
 | 
			
		||||
 | 
			
		||||
  return {
 | 
			
		||||
    dir: {
 | 
			
		||||
      input: "src",
 | 
			
		||||
      output: "public",
 | 
			
		||||
    },
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
node_modules
 | 
			
		||||
_site
 | 
			
		||||
public
 | 
			
		||||
							
								
								
									
										2347
									
								
								package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										2347
									
								
								package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
							
								
								
									
										16
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,16 @@
 | 
			
		|||
{
 | 
			
		||||
  "name": "salag",
 | 
			
		||||
  "version": "1.0.0",
 | 
			
		||||
  "description": "",
 | 
			
		||||
  "main": "index.js",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "start": "eleventy --serve",
 | 
			
		||||
    "build": "eleventy"
 | 
			
		||||
  },
 | 
			
		||||
  "keywords": [],
 | 
			
		||||
  "author": "",
 | 
			
		||||
  "license": "ISC",
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "@11ty/eleventy": "^2.0.1"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										17
									
								
								src/_includes/base.njk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								src/_includes/base.njk
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,17 @@
 | 
			
		|||
<!DOCTYPE html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
  <head>
 | 
			
		||||
    <meta charset="UTF-8" />
 | 
			
		||||
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
 | 
			
		||||
    <title>{{ title }}</title>
 | 
			
		||||
    <link rel="stylesheet" href="style.css">
 | 
			
		||||
  </head>
 | 
			
		||||
  <body>
 | 
			
		||||
    <header>
 | 
			
		||||
      <h1>{{ title }}</h1>
 | 
			
		||||
    </header>
 | 
			
		||||
    <main>
 | 
			
		||||
      {{ content | safe }}
 | 
			
		||||
    </main>
 | 
			
		||||
  </body>
 | 
			
		||||
</html>
 | 
			
		||||
							
								
								
									
										6
									
								
								src/index.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								src/index.md
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,6 @@
 | 
			
		|||
---
 | 
			
		||||
title: Hello World
 | 
			
		||||
layout: base.njk
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
Hello Gil!
 | 
			
		||||
							
								
								
									
										3
									
								
								src/style.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								src/style.css
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
body {
 | 
			
		||||
  font-family: sans-serif;
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in a new issue