Add Japan language pages.
This commit is contained in:
parent
06d1e6cd39
commit
8ad650eaa0
9
portfolio/en/japan.html
Normal file
9
portfolio/en/japan.html
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
title: Japan
|
||||||
|
logosub: 日本
|
||||||
|
language: "en"
|
||||||
|
---
|
||||||
|
|
||||||
|
<p>These pages contain my notes on learning about the Japanese language and culture.</p>
|
||||||
|
|
||||||
|
$partial("templates/japan-language-notes.html")$
|
||||||
10
portfolio/jp/japan.html
Normal file
10
portfolio/jp/japan.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
title: 日本
|
||||||
|
logosub: 日本
|
||||||
|
language: "jp"
|
||||||
|
---
|
||||||
|
|
||||||
|
<p>これらのページには、日本語と言語文化に関する私のメモが含まれています。</p>
|
||||||
|
<p>これらのページは英語のみで提供されています。</p>
|
||||||
|
|
||||||
|
$partial("templates/japan-language-notes.html")$
|
||||||
10
portfolio/nl/japan.html
Normal file
10
portfolio/nl/japan.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
title: Japan
|
||||||
|
logosub: 日本
|
||||||
|
language: "nl"
|
||||||
|
---
|
||||||
|
|
||||||
|
<p>Deze paginas bevatten mijn notities om de Japanse taal en cultuur te bestuderen.</p>
|
||||||
|
<p>Alle paginas zijn alleen in het Engels.</p>
|
||||||
|
|
||||||
|
$partial("templates/japan-language-notes.html")$
|
||||||
71
portfolio/pages/en/japan/language/notes/cheat-sheet.md
Normal file
71
portfolio/pages/en/japan/language/notes/cheat-sheet.md
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
---
|
||||||
|
logosub: "Japanese"
|
||||||
|
language: "en"
|
||||||
|
title: "Cheat-sheet"
|
||||||
|
---
|
||||||
|
|
||||||
|
This is a collection of grammar that I use to glimpse over in order to remember it better.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 文法
|
||||||
|
|
||||||
|
* これは紙を切る[のに](./tameni-youni-noni#のに)使うはさみです。
|
||||||
|
* These scissors are used <Jps colour="c1" text="to"/> cut paper.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
「使っといて」: This is colloquial and means "having used" or "using and leaving it in that state,".
|
||||||
|
|
||||||
|
「食べといた」: This means "ate it in advance" or "ate it beforehand," suggesting the speaker ate it in preparation for something.
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
「使ってみて」: This means "try using,".
|
||||||
|
|
||||||
|
「入れてみて」: This means "try bringing it in,"
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
「してはならない」: This means "must not wear," which would imply things are forbidden.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
「してもかまわない」: This means "it's okay to do" or "you may do it if you want," which implies that doing it is optional.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
「しなければならない」: This means "must do." It implies that doing something is a requirement.
|
||||||
|
|
||||||
|
「しなければいい」: This would mean "it would be good if you do...,". It suggests a recommendation, not a requirement.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
「食べなくちゃ」: This means "I have to eat it,".
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
「入れないと」: The phrase "入れないと" (short for "入れないといけない") implies an urgent need or "you have to bring it in".
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
「入れてはいけない」: This means "you must not bring it in,".
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
「入れたらいい」: This could mean "it would be good if you brought it in," but it lacks any urgency.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
「食べちゃった」: This is the casual form of "食べてしまった," which conveys that the speaker ate all, often with a nuance of regret or unintentionality.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
「乗れたらいいね」: This means "It would be nice if I could ride it," which suggests a wish or hope rather than actual progress or achievement.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
「乗れたほうがいいよ」: This means "It’s better if you can ride," which sounds like advice rather than a statement of progress.
|
||||||
|
|
||||||
|
---
|
||||||
@ -53,6 +53,18 @@ main = hakyll $ do
|
|||||||
>>= loadAndApplyTemplate "templates/default.html" (postCtx language)
|
>>= loadAndApplyTemplate "templates/default.html" (postCtx language)
|
||||||
>>= relativizeUrls
|
>>= relativizeUrls
|
||||||
|
|
||||||
|
match "pages/en/japan/language/**" $ do
|
||||||
|
route $ setExtension "html"
|
||||||
|
compile $ do
|
||||||
|
identifier <- getUnderlying
|
||||||
|
metadata <- getMetadata identifier
|
||||||
|
let language = lookupString "language" metadata
|
||||||
|
|
||||||
|
pandocCompiler
|
||||||
|
>>= loadAndApplyTemplate "templates/japan-language-note.html" (postCtx language)
|
||||||
|
>>= loadAndApplyTemplate "templates/default.html" (postCtx language)
|
||||||
|
>>= relativizeUrls
|
||||||
|
|
||||||
match "pages/*/plamo/**" $ do
|
match "pages/*/plamo/**" $ do
|
||||||
route $ setExtension "html"
|
route $ setExtension "html"
|
||||||
compile $ do
|
compile $ do
|
||||||
@ -125,6 +137,30 @@ main = hakyll $ do
|
|||||||
>>= loadAndApplyTemplate "templates/default.html" plamoCtx
|
>>= loadAndApplyTemplate "templates/default.html" plamoCtx
|
||||||
>>= relativizeUrls
|
>>= relativizeUrls
|
||||||
|
|
||||||
|
match (fromList
|
||||||
|
[ "nl/japan.html"
|
||||||
|
, "jp/japan.html"
|
||||||
|
, "en/japan.html"
|
||||||
|
]) $ do
|
||||||
|
route idRoute
|
||||||
|
compile $ do
|
||||||
|
identifier <- getUnderlying
|
||||||
|
metadata <- getMetadata identifier
|
||||||
|
let language = lookupString "language" metadata
|
||||||
|
let lang = fromMaybe "en" language
|
||||||
|
|
||||||
|
notes <- loadAll "pages/en/japan/language/notes/*"
|
||||||
|
|
||||||
|
let japanCtx =
|
||||||
|
listField "notes" (postCtx language) (return notes) <>
|
||||||
|
langDict lang <>
|
||||||
|
defaultContext
|
||||||
|
|
||||||
|
getResourceBody
|
||||||
|
>>= applyAsTemplate japanCtx
|
||||||
|
>>= loadAndApplyTemplate "templates/default.html" japanCtx
|
||||||
|
>>= relativizeUrls
|
||||||
|
|
||||||
match (fromList
|
match (fromList
|
||||||
[ "index.html"
|
[ "index.html"
|
||||||
, "nl/index.html"
|
, "nl/index.html"
|
||||||
|
|||||||
5
portfolio/templates/japan-language-note.html
Normal file
5
portfolio/templates/japan-language-note.html
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<article>
|
||||||
|
<section>
|
||||||
|
$body$
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
17
portfolio/templates/japan-language-notes.html
Normal file
17
portfolio/templates/japan-language-notes.html
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<h2>Japanese language notes</h2>
|
||||||
|
$for(notes)$
|
||||||
|
<ul>
|
||||||
|
<li><a href="$url$">$title$</a></li>
|
||||||
|
</ul>
|
||||||
|
$endfor$
|
||||||
|
<h2>て-forms</h2>
|
||||||
|
|
||||||
|
<h2>Particles (助詞、じょし)</h2>
|
||||||
|
|
||||||
|
<h3>Binding particles (係助詞、かかりじょし)</h3>
|
||||||
|
|
||||||
|
<h3>Adverbial particles (副助詞、ふくじょし)</h3>
|
||||||
|
|
||||||
|
<h2>Verbs</h2>
|
||||||
|
|
||||||
|
<h2>Other</2>
|
||||||
@ -9,7 +9,7 @@
|
|||||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||||
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
|
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link disabled" aria-disabled="true" href="/$language$/japan.html">$title-japan$</a>
|
<a class="nav-link" href="/$language$/japan.html">$title-japan$</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="/$language$/plamo.html">$title-plamo$</a>
|
<a class="nav-link" href="/$language$/plamo.html">$title-plamo$</a>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user