добавляет минимальный код сайта

This commit is contained in:
2022-05-13 18:13:52 +03:00
commit 150d897283
15 changed files with 5966 additions and 0 deletions

3
src/css/index.css Normal file
View File

@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

3
src/data/metadata.js Normal file
View File

@@ -0,0 +1,3 @@
module.exports = {
title: 'Slipenko.Wiki'
}

0
src/js/index.js Normal file
View File

15
src/layouts/base.njk Normal file
View 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
View File

@@ -0,0 +1,5 @@
---
permalink: '/'
layout: 'base.njk'
---
Hello world!