Greg’s Sandbox

Notes on Front-End Web Development

13 May modified: 8 years ago

Figur Shortcode

grav plugin unsplash

Now we're going to attempt and even more ambitious shortcode investigation with the creation of a custom shortcode plugin. I've been researching how to add variables to the shortcode. The content of these variables will be specified within the shortcode definition in the markdown markup in the artic…

Continue reading Figur Shortcode ...

27 Apr modified: 8 years ago

Typography Over-Ride

grav ui Bruno Martins | unsplash

The core Grav theme template (Antimatter) comes pre-configured to display two Google fonts downloaded from Google Fonts CDN. The two fonts used in the default configuration are: Montserrat (for all the header and display functions) and Raleway (for body text). Although these fonts are quite a nice c…

Continue reading Typography Over-Ride ...

07 Apr modified: 8 years ago

Auto-Update Webhook — Part 2

grav github unsplash

Revised approach to configuration

OK, the first time I tried the GitHub automatic webhook it didn't work out so well. The intent is to automatically upload to the production server any changes or additions made to items located in /user folder. Although it seemed to function properly at first, my in…

Continue reading Auto-Update Webhook — Part 2 ...