mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-02 06:58:13 +00:00
tag and folder pages
This commit is contained in:
parent
24348b24a9
commit
ba9f243728
25 changed files with 586 additions and 123 deletions
quartz/plugins
|
@ -4,8 +4,12 @@ import { StaticResources } from '../resources'
|
|||
import { googleFontHref, joinStyles } from '../theme'
|
||||
import { EmitCallback, PluginTypes } from './types'
|
||||
import styles from '../styles/base.scss'
|
||||
|
||||
// @ts-ignore
|
||||
import spaRouterScript from '../components/scripts/spa.inline'
|
||||
// @ts-ignore
|
||||
import popoverScript from '../components/scripts/popover.inline'
|
||||
import popoverStyle from '../components/styles/popover.scss'
|
||||
|
||||
export type ComponentResources = {
|
||||
css: string[],
|
||||
|
@ -57,6 +61,11 @@ export function emitComponentResources(cfg: GlobalConfiguration, resources: Stat
|
|||
)
|
||||
}
|
||||
|
||||
if (cfg.enablePopovers) {
|
||||
componentResources.afterDOMLoaded.push(popoverScript)
|
||||
componentResources.css.push(popoverStyle)
|
||||
}
|
||||
|
||||
emit({
|
||||
slug: "index",
|
||||
ext: ".css",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue