New features in Javascript ES2015 (ES6)

Arrow Functions

var dostuff = function( arg ) { do stuff }; can be written as var dostuff = ( arg ) => { do stuff };

Let & Const

We nolonger use var, we now use let. Meanwhile, const is used for constants that can NEVER be changed.

Templ

...

Continue reading...

Creating a child theme in Grav CMS

Creating a child theme in Grav CMS is a truly beautiful, simple process.

1.. Create a new folder: user/themes/mytheme to house your new theme. 2.. Create a new theme YAML file: /user/themes/mytheme/mytheme.yaml with the following content:

streams:
 sche...

Continue reading...

These HTML5 skeletons and frameworks are very helpful for starting out new web development projects.

Continue reading...

So I just installed Grav CMS (v1.1.3 and Grav Admin v1.1.4) to attempt keeping my notes. A CMS that uses a flat filesystem is ideal since I will be able to write and refer to my notes both via web browser as well as via SSH terminal.

I ran into an issue using the SimpleSearch plugin in which no...

Continue reading...