mirror of
https://github.com/thiloho/aurora.git
synced 2025-11-22 03:21:35 +01:00
Update latest versions, fix small inconveniences
This commit is contained in:
@@ -7,9 +7,6 @@ import svelte from "@astrojs/svelte";
|
|||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: "https://aurora.thilohohlt.com",
|
site: "https://aurora.thilohohlt.com",
|
||||||
compressHTML: true,
|
compressHTML: true,
|
||||||
experimental: {
|
|
||||||
assets: true
|
|
||||||
},
|
|
||||||
scopedStyleStrategy: "class",
|
scopedStyleStrategy: "class",
|
||||||
markdown: {
|
markdown: {
|
||||||
rehypePlugins: [
|
rehypePlugins: [
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
default = pkgs.buildNpmPackage {
|
default = pkgs.buildNpmPackage {
|
||||||
name = "build-aurora-blog";
|
name = "build-aurora-blog";
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
nodejs_18
|
nodejs_20
|
||||||
];
|
];
|
||||||
src = ./.;
|
src = ./.;
|
||||||
npmDepsHash = "sha256-K30UsMZ508XT1x/1eXY/xg7dfhLm55pdi9vOdDQHtWg=";
|
npmDepsHash = "sha256-K30UsMZ508XT1x/1eXY/xg7dfhLm55pdi9vOdDQHtWg=";
|
||||||
|
|||||||
2134
package-lock.json
generated
2134
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -10,13 +10,12 @@
|
|||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/markdown-remark": "^2.2.1",
|
"@astrojs/markdown-remark": "^3.0.0",
|
||||||
"@astrojs/svelte": "^2.1.1",
|
"@astrojs/svelte": "^4.0.0",
|
||||||
"@fontsource/jetbrains-mono": "^4.5.12",
|
"@fontsource/jetbrains-mono": "^4.5.12",
|
||||||
"@fontsource/roboto": "^4.5.8",
|
"@fontsource/roboto": "^4.5.8",
|
||||||
"astro": "^2.5.3",
|
"astro": "^3.0.7",
|
||||||
"open-props": "^1.5.8",
|
"open-props": "^1.5.8",
|
||||||
"rehype-autolink-headings": "^6.1.1",
|
"rehype-autolink-headings": "^6.1.1"
|
||||||
"svelte": "^3.59.1"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,5 +26,3 @@ There are three websites themes: Light, Dark and System (inherits the theme of y
|
|||||||
### Make the theme yours
|
### Make the theme yours
|
||||||
|
|
||||||
See the [documentation on how to adjust the theme](https://github.com/thiloho/aurora#make-the-theme-yours).
|
See the [documentation on how to adjust the theme](https://github.com/thiloho/aurora#make-the-theme-yours).
|
||||||
|
|
||||||
## Blog
|
|
||||||
|
|||||||
2
src/env.d.ts
vendored
2
src/env.d.ts
vendored
@@ -1,2 +1,2 @@
|
|||||||
/// <reference path="../.astro/types.d.ts" />
|
/// <reference path="../.astro/types.d.ts" />
|
||||||
/// <reference types="astro/client-image" />
|
/// <reference types="astro/client" />
|
||||||
|
|||||||
@@ -14,6 +14,9 @@ const articles = (await getCollection("blog")).sort(
|
|||||||
|
|
||||||
<PageLayout title="aurora" description="Minimalistic blog theme built with Astro, focused on accessibility and usability.">
|
<PageLayout title="aurora" description="Minimalistic blog theme built with Astro, focused on accessibility and usability.">
|
||||||
<Content />
|
<Content />
|
||||||
|
<h2 id="blog">
|
||||||
|
<a class="heading-linker" href="#blog">Blog</a>
|
||||||
|
</h2>
|
||||||
<div class="article-grid">
|
<div class="article-grid">
|
||||||
{
|
{
|
||||||
articles.map((article) => (
|
articles.map((article) => (
|
||||||
@@ -23,9 +26,9 @@ const articles = (await getCollection("blog")).sort(
|
|||||||
</header>
|
</header>
|
||||||
<div class="article-content">
|
<div class="article-content">
|
||||||
<PublicationDate publicationDate={article.data.publicationDate} />
|
<PublicationDate publicationDate={article.data.publicationDate} />
|
||||||
<h2>
|
<h3>
|
||||||
<a href={article.slug}>{article.data.title}</a>
|
<a href={article.slug}>{article.data.title}</a>
|
||||||
</h2>
|
</h3>
|
||||||
<p>{article.data.description}</p>
|
<p>{article.data.description}</p>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
Reference in New Issue
Block a user