Articles API functionality. You can take the articles from this website to yours. With this basic configs.
http://ci.donvercety.biz/articles/json
http://ci.donvercety.biz/article/json/get/$id
http://ci.donvercety.biz/articles/json/5/0
http://ci.donvercety.biz/articles/json/count
error_reporting(E_ALL);
ini_set('display_errors', 1);
Now without having to create a plugin you can easily apply a sort. Below is the snippet we used to sort pages by title.
{% assign sorted_pages = (site.pages | sort: 'title') %}
{% for page in sorted_pages %}
<li class="cardmenu-item">
<a href="{{ page.url }}">{{ page.title }}</a>
</li>
{% endfor %}
When we render a specific index page we have a need to show pages by a specific layout or filter pages by layout.
{% assign tutorials = (site.pages | where: "layout" , "java") %}
{% for page in tutorials %}
// do some work
{% endfor %}
Author: Published November 24, 2014
Lukas White
In a recent series of articles I looked in detail at Apache’s SOLR and Solarium.
To recap; SOLR is a search service with a raft of features – such as faceted search and result highlighting – which runs >as a web service. Solarium is a PHP library which allows you to integrate with SOLR – whether local or remote – >interacting with it as if it were a native component of your application. If you’re unfamiliar with either, then my >series is over here, and I’d urge you to take a look.
In this article, I’m going to look at another part of SOLR which warrants its own discussion; Geospatial search.
Read more at sitepoint.com
Bower works by fetching and installing packages from all over, taking care of hunting, finding, downloading, and saving the stuff you’re looking for. Bower keeps track of these packages in a manifest file, bower.json. How you use packages is up to you. Bower provides hooks to facilitate using packages in your tools and workflows.
Bower is optimized for the front-end. Bower uses a flat dependency tree, requiring only one version for each package, reducing page load to a minimum.
Bower is a command line utility. Install it with npm.
$ npm install -g bower
Bower requires Node and npm and Git.
Install packages with bower install. Bower installs packages to bower_components/.
$ bower install <package>
A package can be a GitHub shorthand, a Git endpoint, a URL, and more. Read more about bower install.
# registered package
$ bower install jquery
# GitHub shorthand
$ bower install desandro/masonry
# Git endpoint
$ bower install git://github.com/user/package.git
# URL
$ bower install http://example.com/script.js