From 1dbf1e40748212b568ce1e2c7f2f61139021d3b3 Mon Sep 17 00:00:00 2001 From: Seven Of Aces Date: Fri, 3 Jan 2025 21:50:12 -0800 Subject: [PATCH] :3 --- .github/workflows/nuxtjs.yml | 8 +- app.vue | 3 +- assets/config.ts | 2 +- assets/markdown_conf.ts | 214 +++++++++++++- assets/{ => meta}/blog_list.json | 104 +++---- assets/{ => meta}/post_history.json | 0 assets/style/markdown.scss | 250 +++++++++++++++++ assets/{ => style}/style.css | 0 assets/vue.svg | 1 - components/BackgroundCalm.vue | 8 - components/Card.vue | 5 +- components/Markdown.vue | 339 ++++------------------- components/MetaSet.vue | 58 +++- deno.lock | 130 +++++++++ package.json | 4 +- pages/blog.vue | 275 ++++++++---------- pages/index.vue | 20 +- tailwind.config.js | 33 ++- utils/pageupdater/commit_post_history.py | 2 +- utils/pageupdater/pages.ts | 84 ++++++ utils/pageupdater/update_pagelist.ts | 51 ++++ 21 files changed, 1046 insertions(+), 545 deletions(-) rename assets/{ => meta}/blog_list.json (89%) rename assets/{ => meta}/post_history.json (100%) create mode 100644 assets/style/markdown.scss rename assets/{ => style}/style.css (100%) delete mode 100644 assets/vue.svg create mode 100644 utils/pageupdater/pages.ts create mode 100644 utils/pageupdater/update_pagelist.ts diff --git a/.github/workflows/nuxtjs.yml b/.github/workflows/nuxtjs.yml index 0be3abf..c159c6a 100644 --- a/.github/workflows/nuxtjs.yml +++ b/.github/workflows/nuxtjs.yml @@ -34,10 +34,14 @@ jobs: uses: actions/checkout@v4 - name: Activate Venv run: source venv/bin/activate + - name: Setup Deno + uses: denoland/setup-deno@v2 + with: + deno-version: v2.x - name: Install dependencies run: pip install python-frontmatter - - name: Update Page manifest - run: python utils/pageupdater/page_list_gen.py + - name: Update Page list + run: deno utils/pageupdater/update_pagelist.ts - name: Update Page history run: python utils/pageupdater/commit_post_history.py - name: Generate RSS feed diff --git a/app.vue b/app.vue index ac782b2..c5baf0e 100644 --- a/app.vue +++ b/app.vue @@ -3,7 +3,8 @@ import { main } from "@popperjs/core"; import MainPage from "./pages/index.vue" import backgroundCalm from "./components/BackgroundCalm.vue"; import Navbar from "./components/Navbar.vue" -import './assets/style.css' +import './assets/style/style.css' +import siteConfig from '~/assets/config'