mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-20 06:47:42 +00:00
docs on making plugins
This commit is contained in:
parent
ad3f7b2d5f
commit
cefbca4753
11 changed files with 330 additions and 43 deletions
quartz/plugins/emitters
|
@ -30,9 +30,8 @@ export const AliasRedirects: QuartzEmitterPlugin = () => ({
|
|||
for (const alias of aliases) {
|
||||
const slug = path.posix.join(dir, alias) as ServerSlug
|
||||
|
||||
const fp = (slug + ".html") as FilePath
|
||||
const redirUrl = resolveRelative(canonicalizeServer(slug), ogSlug)
|
||||
await emit({
|
||||
const fp = await emit({
|
||||
content: `
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue