1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-02-03 15:48:40 +00:00

Compare commits

...

3 commits

Author SHA1 Message Date
dependabot[bot]
de774ce030
Merge c90d17158d into c8b2ae0f07 2023-12-28 16:01:48 +00:00
c8b2ae0f07
create caddy-md 2023-12-28 23:11:47 +09:00
dependabot[bot]
c90d17158d
Bump next from 9.5.2 to 13.5.0 in /vad
Bumps [next](https://github.com/vercel/next.js) from 9.5.2 to 13.5.0.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v9.5.2...v13.5.0)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-09 08:21:49 +00:00
7 changed files with 181 additions and 4722 deletions

5
caddy-md/Caddyfile Normal file
View file

@ -0,0 +1,5 @@
:8080 {
file_server
templates
try_files {path} /
}

8
caddy-md/compose.yml Normal file
View file

@ -0,0 +1,8 @@
services:
caddy:
image: caddy
ports:
- 8080:8080
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- ./srv:/srv

1
caddy-md/srv/a.md Normal file
View file

@ -0,0 +1 @@
# あ

15
caddy-md/srv/index.html Normal file
View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
{{- $path := .OriginalReq.URL.Path}}
{{- if hasSuffix "/" $path}}{{$path = print $path "index"}}{{end}}
{{- $path = print $path ".md"}}
{{- if not (fileExists $path)}}{{httpError 404}}{{end}}
{{- $markdown := (include $path | splitFrontMatter)}}
{{- $title := default (trimSuffix ".md" (base $path)) $markdown.Meta.title}}
<html lang="ja">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>{{$title}}</title>
{{markdown $markdown.Body | trim}}
</html>

9
caddy-md/srv/index.md Normal file
View file

@ -0,0 +1,9 @@
---
title: トップ
---
# トップページ
こんにちは、世界
- [a](a)

View file

@ -3,7 +3,7 @@
"version": "0.0.1", "version": "0.0.1",
"private": true, "private": true,
"dependencies": { "dependencies": {
"next": "^9.5.1", "next": "^13.5.0",
"react": "^16.13.1", "react": "^16.13.1",
"react-dom": "^16.13.1", "react-dom": "^16.13.1",
"vad.js": "kdavis-mozilla/vad.js" "vad.js": "kdavis-mozilla/vad.js"

File diff suppressed because it is too large Load diff