@terrymooreii/sia 1.0.2 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_config.yml +32 -0
- package/bin/cli.js +51 -0
- package/defaults/includes/footer.njk +14 -0
- package/defaults/includes/header.njk +71 -0
- package/defaults/includes/pagination.njk +26 -0
- package/defaults/includes/tag-list.njk +11 -0
- package/defaults/layouts/base.njk +41 -0
- package/defaults/layouts/note.njk +25 -0
- package/defaults/layouts/page.njk +14 -0
- package/defaults/layouts/post.njk +43 -0
- package/defaults/pages/blog.njk +36 -0
- package/defaults/pages/feed.njk +28 -0
- package/defaults/pages/index.njk +60 -0
- package/defaults/pages/notes.njk +34 -0
- package/defaults/pages/tag.njk +41 -0
- package/defaults/pages/tags.njk +39 -0
- package/defaults/styles/main.css +1074 -0
- package/lib/assets.js +234 -0
- package/lib/build.js +263 -19
- package/lib/collections.js +195 -0
- package/lib/config.js +122 -0
- package/lib/content.js +325 -0
- package/lib/index.js +53 -18
- package/lib/init.js +555 -6
- package/lib/new.js +379 -41
- package/lib/server.js +257 -0
- package/lib/templates.js +268 -0
- package/package.json +30 -15
- package/readme.md +212 -63
- package/src/images/.gitkeep +3 -0
- package/src/notes/2024-12-17-first-note.md +6 -0
- package/src/pages/about.md +29 -0
- package/src/posts/2024-12-16-markdown-features.md +76 -0
- package/src/posts/2024-12-17-welcome-to-sia.md +78 -0
- package/src/posts/2024-12-17-welcome-to-static-forge.md +78 -0
- package/.prettierignore +0 -3
- package/.prettierrc +0 -8
- package/lib/helpers.js +0 -37
- package/lib/markdown.js +0 -33
- package/lib/parse.js +0 -100
- package/lib/readconfig.js +0 -18
- package/lib/rss.js +0 -63
- package/templates/siarc-template.js +0 -53
- package/templates/src/_partials/_footer.njk +0 -1
- package/templates/src/_partials/_head.njk +0 -35
- package/templates/src/_partials/_header.njk +0 -1
- package/templates/src/_partials/_layout.njk +0 -12
- package/templates/src/_partials/_nav.njk +0 -12
- package/templates/src/_partials/page.njk +0 -5
- package/templates/src/_partials/post.njk +0 -13
- package/templates/src/_partials/posts.njk +0 -19
- package/templates/src/assets/android-chrome-192x192.png +0 -0
- package/templates/src/assets/android-chrome-512x512.png +0 -0
- package/templates/src/assets/apple-touch-icon.png +0 -0
- package/templates/src/assets/favicon-16x16.png +0 -0
- package/templates/src/assets/favicon-32x32.png +0 -0
- package/templates/src/assets/favicon.ico +0 -0
- package/templates/src/assets/site.webmanifest +0 -19
- package/templates/src/content/index.md +0 -7
- package/templates/src/css/markdown.css +0 -1210
- package/templates/src/css/theme.css +0 -120
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--bg-color: rgb(31 41 55 / 0.97);
|
|
3
|
-
--nav-bg-color: rgb(31 41 55 / 0.95);
|
|
4
|
-
--content-width: 700px;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
* {
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
body {
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
align-items: center;
|
|
15
|
-
background-color: var(--bg-color);
|
|
16
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif,
|
|
17
|
-
'Apple Color Emoji', 'Segoe UI Emoji';
|
|
18
|
-
padding-top: 68px;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.content {
|
|
22
|
-
width: var(--content-width);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@media only screen and (max-width: 700px) {
|
|
26
|
-
.content {
|
|
27
|
-
width: 100vw;
|
|
28
|
-
padding-left: 20px;
|
|
29
|
-
padding-right: 20px;
|
|
30
|
-
}
|
|
31
|
-
nav {
|
|
32
|
-
padding-left: 20px;
|
|
33
|
-
padding-right: 20px;
|
|
34
|
-
}
|
|
35
|
-
.body {
|
|
36
|
-
align-items: start;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
header.blog {
|
|
41
|
-
margin-bottom: 1em;
|
|
42
|
-
padding-bottom: 0.5em;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.blog-title,
|
|
46
|
-
.post-title {
|
|
47
|
-
margin-bottom: 0px !important;
|
|
48
|
-
padding-bottom: 0px !important;
|
|
49
|
-
}
|
|
50
|
-
.blog-title {
|
|
51
|
-
font-size: 18px !important;
|
|
52
|
-
padding: 0 !important;
|
|
53
|
-
margin: 0 !important;
|
|
54
|
-
text-decoration: none !important;
|
|
55
|
-
}
|
|
56
|
-
.blog-description {
|
|
57
|
-
opacity: 0.7;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
time {
|
|
61
|
-
font-size: 0.8em;
|
|
62
|
-
font-style: italic;
|
|
63
|
-
opacity: 0.7;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.nav-container {
|
|
67
|
-
display: flex;
|
|
68
|
-
justify-content: space-between;
|
|
69
|
-
align-items: center;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
nav {
|
|
73
|
-
background-color: var(--nav-bg-color);
|
|
74
|
-
display: flex;
|
|
75
|
-
justify-content: center;
|
|
76
|
-
align-items: center;
|
|
77
|
-
padding-top: 12px;
|
|
78
|
-
padding-bottom: 12px;
|
|
79
|
-
position: fixed;
|
|
80
|
-
top: 0;
|
|
81
|
-
left: 0;
|
|
82
|
-
right: 0;
|
|
83
|
-
z-index: 1;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
nav ul {
|
|
87
|
-
list-style: none;
|
|
88
|
-
display: flex;
|
|
89
|
-
align-items: center;
|
|
90
|
-
margin: 0 !important;
|
|
91
|
-
padding-left: 0px !important;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
nav li {
|
|
95
|
-
padding: 0;
|
|
96
|
-
margin-top: 0 !important;
|
|
97
|
-
margin-right: 12px;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.posts ul {
|
|
101
|
-
list-style: none;
|
|
102
|
-
padding-left: 0 !important;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.posts div.year {
|
|
106
|
-
font-size: 1.2em;
|
|
107
|
-
text-decoration: underline;
|
|
108
|
-
margin-bottom: 8px;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.posts span.date {
|
|
112
|
-
margin-right: 8px;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
footer {
|
|
116
|
-
margin-top: 2em;
|
|
117
|
-
padding-top: 1em;
|
|
118
|
-
text-align: center;
|
|
119
|
-
font-size: 0.9em;
|
|
120
|
-
}
|