Skip to content

Commit

Permalink
release: v3.1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
yeikiu committed Mar 4, 2023
1 parent 1aad742 commit 453d1b8
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy_to_gh_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:

sync_badges:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

Expand All @@ -26,7 +26,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}

build_dist:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
needs: sync_badges
steps:
- uses: actions/checkout@v3
Expand All @@ -47,7 +47,7 @@ jobs:
path: dist/**/*

deploy_dist:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
needs: build_dist
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update_public_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:

build_index:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -27,7 +27,7 @@ jobs:
path: public/blog_store

deploy_data:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
needs: build_index
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue3-md-blog",
"version": "3.1.14",
"version": "3.1.15",
"description": "Minimal Vue3 + Markdown blog engine",
"author": "JQ (https://github.com/yeikiu)",
"keywords": [
Expand Down
6 changes: 1 addition & 5 deletions src/components/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</template>

<script language="ts">
import { defineComponent, ref, onMounted } from 'vue'
import { defineComponent, ref } from 'vue'
import blogConfig from '../blog_config'
import router from '../router';
Expand All @@ -96,10 +96,6 @@ export default defineComponent({
}
}
onMounted(() => {
console.log({ route: router.currentRoute })
})
return {
focusOut,
showDropdown,
Expand Down
4 changes: 2 additions & 2 deletions src/router/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [,
const routes: Array<RouteRecordRaw> = [
{
path: '/editor',
component: () => import(/* webpackChunkName: "editor" */ '../views/Editor.vue'),
props: true
props: false
},
{
path: '/:section?',
Expand Down
4 changes: 2 additions & 2 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
>
<!-- TITLE -->
<router-link
:to="`/${entry.section}/${entry.id}`"
:to="`/category/${entry.section}/${entry.id}`"
class="text-reset"
>
<h3 class="text-left m-0 p-0">
Expand All @@ -37,7 +37,7 @@
</p>
<router-link
v-if="!section"
:to="`/${entry.section}`"
:to="`/category/${entry.section}`"
class="text-reset"
>
<h6 class="m-0 p-0 text-right font-weight-bold">
Expand Down

0 comments on commit 453d1b8

Please sign in to comment.