Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
astro-wt
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
fbafd335
authored
2025-02-03 15:19:20 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
'page' being set, but empty, is valid, and happens at the root of a
site.
1 parent
cbb7401a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/external.astro
lib/external.astro
View file @
fbafd33
...
...
@@ -7,7 +7,7 @@ export const getHtmlFromProps = (props) => {
const { site, page, url, html } = props
if (html) return { data: html }
if (url) return getUrl(url)
if (site && page) return getSitePage(site, page)
if (site && page
!== undefined
) return getSitePage(site, page)
return { data: null }
}
...
...
Please
register
or
sign in
to post a comment