SkillAgentSearch skills...

Edykim.com

My page

Install / Use

/learn @edykim/Edykim.com
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.js file.
  • ext: array in 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

View on GitHub
GitHub Stars13
CategoryDevelopment
Updated21d ago
Forks3

Languages

HTML

Security Score

70/100

Audited on Mar 17, 2026

No findings