Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View danielauener's full-sized avatar

Daniel Auener danielauener

View GitHub Profile
@danielauener
danielauener / plattan.diff
Created February 27, 2014 21:15
plattan changes
--- a/content/themes/plattan/assets/scss/_base.scss
+++ b/content/themes/plattan/assets/scss/_base.scss
@@ -37,4 +37,8 @@ iframe,
embed,
object {
width: 100%;
+}
+
+.site {
+ overflow: hidden;
@danielauener
danielauener / gruntfile.js
Created January 26, 2014 00:32
WordPress theme gruntfile.js
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
// chech our JS
jshint: {
options: {
"bitwise": true,
@danielauener
danielauener / default.hbs
Last active January 3, 2016 00:59
Add disqus to a ghost theme with easy to use disqus settings in default.hbs
<!-- include this just before the </head> tag -->
<script type='text/javascript'>//<![CDATA[
var disqus = {
'activate' : true,
'shortname' : 'example'
};
//]]></script>
@danielauener
danielauener / MyView.class.php
Created December 5, 2012 21:12
An easy view class to use in WordPress plugins
<?php
class My_View {
/**
* Path of the view to render
*/
var $view = "";
/**