mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-31 22:30:04 +00:00
remove unnecessary things
This commit is contained in:
@@ -8,6 +8,11 @@ module.exports = function (eleventyConfig) {
|
||||
eleventyConfig.addPassthroughCopy("src/js");
|
||||
eleventyConfig.addPassthroughCopy("src/contact");
|
||||
eleventyConfig.addPassthroughCopy("src/app-demo");
|
||||
// eleventyConfig.addPassthroughCopy({"../blog":"../src/blog"});
|
||||
|
||||
eleventyConfig.addCollection('posts', function (collection) {
|
||||
return collection.getFilteredByGlob('src/blog/*.md');
|
||||
});
|
||||
|
||||
eleventyConfig.addWatchTarget("src/css");
|
||||
eleventyConfig.addWatchTarget("markdown/");
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
comming from markdown
|
||||
@@ -1,17 +0,0 @@
|
||||
[
|
||||
{
|
||||
"title": "Hello 1",
|
||||
"link": "./contact",
|
||||
"linkText": "go to contact"
|
||||
},
|
||||
{
|
||||
"title": "Hello 2",
|
||||
"link": "./contact",
|
||||
"linkText": "Go To Contact"
|
||||
},
|
||||
{
|
||||
"title": "Hello 3",
|
||||
"link": "./contact",
|
||||
"linkText": "go to contact page"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
{% for post in collections.posts %}
|
||||
{{ post.data.title }}
|
||||
<a href="{{ post.url }}">{{ post.data.title }} sss</a>
|
||||
{{ post.templateContent }}
|
||||
|
||||
{% endfor %}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user