-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
closes #26
- Loading branch information
Showing
8 changed files
with
51 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -128,3 +128,6 @@ dist | |
.yarn/build-state.yml | ||
.yarn/install-state.gz | ||
.pnp.* | ||
|
||
# Project | ||
nodemon.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import path from 'node:path' | ||
import { readFile } from 'node:fs/promises' | ||
|
||
const metaPath = path.resolve(import.meta.dirname, `../package.json`) | ||
const json = await readFile(metaPath, `utf8`) | ||
const meta = JSON.parse(json) | ||
|
||
export default { meta } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<head> | ||
|
||
{{!-- critical metadata --}} | ||
<meta charset=utf-8> | ||
<meta name=viewport content='width=device-width, initial-scale=1, shrink-to-fit=no'> | ||
<title>Nisinoon | {{ title }}</title> | ||
|
||
{{!-- metadata --}} | ||
<meta name=author content='{{ meta.author.name }}'> | ||
<meta name=description content='{{ meta.description }}'> | ||
<meta name=keywords content='{{#each meta.keywords}}{{#if @last}}{{@this}}{{else}}{{@this}}, {{/if}}{{/each}}'> | ||
<meta name=rating content=general> | ||
<meta name=robots content='index,follow'> | ||
|
||
{{!-- linked metadata --}} | ||
<link rel=author href=https://danielhieber.info> | ||
<link rel=license href=https://github.com/dwhieb/Nisinoon/blob/main/LICENSE> | ||
|
||
{{!-- Facebook sharing --}} | ||
<meta property=og:description content='{{ meta.description }}'> | ||
<meta property=og:image content=https://nisinoon.net/images/textile.jpg> | ||
<meta property=og:image:height content=4553> | ||
<meta property=og:image:width content=2727> | ||
<meta property=og:locale content=en_US> | ||
<meta property=og:title content=Nisinoon> | ||
<meta property=og:type content=website> | ||
<meta property=og:url content=https://nisinoon.net> | ||
<meta property=og:site_name content=Nisinoon> | ||
|
||
{{!-- Twitter sharing --}} | ||
<meta name=twitter:card content=summary> | ||
<meta name=twitter:creator content=@dwhieb> | ||
<meta name=twitter:image:alt content='trillium textile applique'> | ||
|
||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters