How to implement a custom search for Hugo usig Gruntjs and Lunrjs.
Install the following tools:
| // ==UserScript== | |
| // @name Google Analytics Realtime Alerts | |
| // @namespace http://mobilecoder.wordpress.com | |
| // @version 1.0 | |
| // @description Plays a sound when you get a new user, you can change the sound by hosting your own file on dropbox or other web location | |
| // @match https://www.google.com/analytics/web/?hl=en#realtime* | |
| // ==/UserScript== | |
| // Your custom sound goes here | |
| mCoinSound = new Audio("https://dl.dropbox.com/u/7079101/coin.mp3"); |
| <!-- Bootstrap Markup --> | |
| <div class="container"> | |
| <ul class="thumbnails" id="hover-cap"> <!-- add id attr to thumbnail list --> | |
| <li class="span3"> | |
| <div class="thumbnail"> | |
| <div class="caption"> | |
| <h4>Caption Title</h4> | |
| <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt.</p> | |
| <p><a href="#" class="btn btn-inverse" rel="tooltip" title="Preview"><i class="icon-eye-open"></i></a> <a href="#" rel="tooltip" title="Visit Website" class="btn btn-inverse"><i class="icon-share"></i></a></p> | |
| </div> |
| { | |
| "Abu Dhabi": "Asia/Muscat", | |
| "Adelaide": "Australia/Adelaide", | |
| "Alaska": "America/Juneau", | |
| "Almaty": "Asia/Almaty", | |
| "American Samoa": "Pacific/Pago_Pago", | |
| "Amsterdam": "Europe/Amsterdam", | |
| "Arizona": "America/Phoenix", | |
| "Astana": "Asia/Dhaka", | |
| "Athens": "Europe/Athens", |
| #!/bin/bash | |
| # v0.9.0 | |
| # Run from Wordpress installation directory | |
| # DEFINE COLORS | |
| RED='\033[0;31m' # error | |
| GRN='\033[0;32m' # success | |
| BLU='\033[0;34m' # task | |
| BRN='\033[0;33m' # headline | |
| NC='\033[0m' # no color |