Updated
This commit is contained in:
parent
db48b587db
commit
50def158c2
13 changed files with 9 additions and 9 deletions
|
|
@ -21,7 +21,7 @@ const config = toml.parse(fs.readFileSync('configs/config.site.toml', 'utf8'))
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
|
||||
<meta name="name" content={config.website.name} />
|
||||
<meta name="description" content={config.website.description} />
|
||||
<meta name="title" property="og:title" content={config.website.name} />
|
||||
<meta name="title" property="og:title" content={title} />
|
||||
<meta name="keywords" content="HTML, CSS, JavaScript" />
|
||||
<meta name="developer" content={config.website.developer} />
|
||||
<meta name="designer" content={config.website.designer} />
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
---
|
||||
interface Props {
|
||||
alignment?: 'row' | 'column'
|
||||
horizontal?: boolean
|
||||
}
|
||||
|
||||
const { alignment } = Astro.props
|
||||
const { horizontal } = Astro.props
|
||||
---
|
||||
|
||||
{
|
||||
alignment ? (
|
||||
<main class={`dasig-page-${alignment}`}>
|
||||
horizontal ? (
|
||||
<main class={`dasig-page-column`}>
|
||||
<slot />
|
||||
</main>
|
||||
) : (
|
||||
<main class="dasig-page">
|
||||
<main class="dasig-page-row">
|
||||
<slot />
|
||||
</main>
|
||||
)
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 6.7 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 6.7 KiB |
Loading…
Add table
Add a link
Reference in a new issue