This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//the code below will embed replace [gist id=x] tags with an embedded gist similar to the way the Wordpress Gist | |
//plugin works. I wrote this in order to import posts from Wordpress. See //GB: for the changes. | |
// **takes:** filter / pagination parameters | |
browse: function browse(options) { | |
options = options || {}; | |
// **returns:** a promise for a page of posts in a json object | |
//return dataProvider.Post.findPage(options); | |
return dataProvider.Post.findPage(options).then(function (result) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A "deeper" indented text effect with the :before and :after pseudo-elements. | |
*/ | |
html, body { | |
height: 100%; | |
} | |
body { | |
margin: 0; | |
background: #0A539C; | |
background: linear-gradient(top, #4293d6 0%,#001e96 100%); |