Edykim.com
My page
Install / Use
/learn @edykim/Edykim.comREADME
edykim.com
The source code for generating website is under MIT license. All contents in
contents are under vary.
$ npm run build
$ serve public
Template
The root of template hierarchy is ./templates/index.html. Template can be
nested using template(filePath, data) function.
File path should be matched with a url structure of pages/posts. It will look up
parent directory if the matching template is not there. For example, if we have
a page with /ko/recipe/pie/apple-pie url, template('header.html') will look
up in the order below:
./templates/ko/recipe/pie/apple-pie/header.html
./templates/ko/recipe/pie/header.html
./templates/ko/recipe/header.html
./templates/ko/header.html
./templates/header.html
Still, the template can use a parent template based on hierarchy using
parent() function.
- Some of utility functions are provided. We can add more functions in
./src/template/utils.jsfile. ext: arrayin frontmatter allows to insert any extensions in./templates/_ext/.- Reusable components can be defined in
./config/components.js. These components will replace any<!-- @template <key> -->strings in the content.
local
dev script will provide watch via chokidar-cli and serve for local dev.
$ npm run dev
Alternatively, create a self-signed ssl key and then use serve.
$ openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 3650 -nodes \
-subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=CommonNameOrHostname"
$ npx serve --ssl-cert cert.pem --ssl-key key.pem -l 443 public
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
