Tag: pinned

Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Tue 2 June 2020

This also obliviate the need to monitor your own database or entrust a third party to do it for you.

Still, you might need some functions you cannot rely on clients' web browser, such as adding search. Downloading indexes to client's machine is expensive and bad for SEO.

Adding Search

Adding Search

See below for a list of guides in this section, or keep reading for an overview on adding search functionality to your site. Site search…
Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Sat 4 January 2020

What is Pug

Pug is a high-performance template engine heavily influenced by Haml and implemented with JavaScript for Node.js and browsers.

Pug uses whitespace syntax, and is Tab / Space -sensitive, just like Markdown and Python

Pug is mainly a template engine for Node.js, and cannot be installed for Webpack via NPM/Yarn, however there is https://github.com/pugjs/pug#browser-support but it is a very large file. However, I created HyperPug a while ago, and it is relatively small.