first commit
This commit is contained in:
commit
2de0b46a48
4
.eleventy.js
Normal file
4
.eleventy.js
Normal file
@ -0,0 +1,4 @@
|
||||
module.exports = function(eleventyConfig) {
|
||||
// Add any custom Eleventy configuration here
|
||||
};
|
||||
|
||||
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
/node_modules/
|
||||
/public/build/
|
||||
|
||||
.DS_Store
|
||||
19
_includes/base-layout.njk
Normal file
19
_includes/base-layout.njk
Normal file
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>{{ title }}</h1>
|
||||
</header>
|
||||
<main>
|
||||
{{ content | safe }}
|
||||
</main>
|
||||
<footer>
|
||||
<p>© {{ year }}</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
21
_site/index.html
Normal file
21
_site/index.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Home</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Home</h1>
|
||||
</header>
|
||||
<main>
|
||||
<h1>Welcome to My Eleventy Project!</h1>
|
||||
<p>Hello World!</p>
|
||||
|
||||
</main>
|
||||
<footer>
|
||||
<p>© </p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
7
index.md
Normal file
7
index.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
layout: base-layout.njk
|
||||
title: Home
|
||||
---
|
||||
# Welcome to My Eleventy Project!
|
||||
|
||||
This is the homepage of my Eleventy project.
|
||||
2421
package-lock.json
generated
Normal file
2421
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
15
package.json
Normal file
15
package.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"name": "eleventy_practice_project",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@11ty/eleventy": "^2.0.1"
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user