deno.land / x / lume_theme_simple_blog@v0.4.0 / mod.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import plugins, { Options } from "./plugins.ts";
import type { Site } from "lume/core.ts";
export type { Options } from "./plugins.ts";
export default function (options: Partial<Options> = {}) { return (site: Site) => { // Configure the site site.use(plugins(options));
// Add remote files const files = [ "_includes/css/fonts.css", "_includes/css/navbar.css", "_includes/css/page.css", "_includes/css/post-list.css", "_includes/css/post.css", "_includes/css/reset.css", "_includes/css/tag.css", "_includes/css/variables.css", "_includes/css/search.css", "_includes/layouts/archive_result.njk", "_includes/layouts/archive.njk", "_includes/layouts/base.njk", "_includes/layouts/page.njk", "_includes/layouts/post.njk", "_includes/templates/post-details.njk", "_includes/templates/post-list.njk", "fonts/inter.woff2", "fonts/inter-italic.woff2", "fonts/epilogue-bold.woff2", "posts/_data.yml", "_data.yml", "404.md", "archive_result.tmpl.js", "archive.tmpl.js", "feed.tmpl.js", "feed.xml.njk", "index.njk", "styles.css", "favicon.png", ];
for (const file of files) { site.remoteFile(file, import.meta.resolve(`./src/${file}`)); } };}
lume_theme_simple_blog
Lume theme to create a simple blog
DocumentationDocumentation
GitHub Stars
14

Version Info

Tagged at
2 months ago