добавляет минимальный код сайта
This commit is contained in:
3
src/css/index.css
Normal file
3
src/css/index.css
Normal file
@@ -0,0 +1,3 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
3
src/data/metadata.js
Normal file
3
src/data/metadata.js
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = {
|
||||
title: 'Slipenko.Wiki'
|
||||
}
|
0
src/js/index.js
Normal file
0
src/js/index.js
Normal file
15
src/layouts/base.njk
Normal file
15
src/layouts/base.njk
Normal file
@@ -0,0 +1,15 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ title or metadata.title }}</title>
|
||||
<meta name="description" content="{{ description or metadata.description }}">
|
||||
<meta name="generator" content="{{ eleventy.generator }}">
|
||||
<link rel="stylesheet" href="/css/index.css">
|
||||
</head>
|
||||
<body>
|
||||
{{ content | safe }}
|
||||
<script src="/js/bundle.js"></script>
|
||||
</body>
|
||||
</html>
|
5
src/pages/index.njk
Normal file
5
src/pages/index.njk
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
permalink: '/'
|
||||
layout: 'base.njk'
|
||||
---
|
||||
Hello world!
|
Reference in New Issue
Block a user