edge_framework 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
data/assets/sass/edge.scss
CHANGED
data/lib/edge/version.rb
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
<?php
|
2
|
+
// If Timber not installed or not activated
|
3
|
+
if (!class_exists("Timber") ) {
|
4
|
+
echo "Timber not activated. <a href='" . admin_url("plugin-install.php?tab=search&type=term&s=Timber+Library&plugin-search-input=Search+Plugins") . "'>Install</a> or <a href='" . admin_url("plugins.php#timber") . "'>Activate it</a> via Admin Panel</a>";
|
5
|
+
return;
|
6
|
+
}
|
7
|
+
|
2
8
|
$context = Timber::get_context();
|
3
9
|
$context["posts"] = Timber::get_posts();
|
4
10
|
$context["pagination"] = Timber::get_pagination();
|
5
11
|
|
6
|
-
Timber::render("index.twig", $context);
|
7
|
-
|
12
|
+
Timber::render("index.twig", $context);
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: edge_framework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-09-
|
12
|
+
date: 2014-09-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|