')
+ .append(i.clone())
+ .remove()
+ .html()
+ .replace(/type="password"/i, 'type="text"')
+ .replace(/type=password/i, 'type=text')
+ );
+
+ if (i.attr('id') != '')
+ x.attr('id', i.attr('id') + '-polyfill-field');
+
+ if (i.attr('name') != '')
+ x.attr('name', i.attr('name') + '-polyfill-field');
+
+ x.addClass('polyfill-placeholder')
+ .val(x.attr('placeholder')).insertAfter(i);
+
+ if (i.val() == '')
+ i.hide();
+ else
+ x.hide();
+
+ i
+ .on('blur', function(event) {
+
+ event.preventDefault();
+
+ var x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]');
+
+ if (i.val() == '') {
+
+ i.hide();
+ x.show();
+
+ }
+
+ });
+
+ x
+ .on('focus', function(event) {
+
+ event.preventDefault();
+
+ var i = x.parent().find('input[name=' + x.attr('name').replace('-polyfill-field', '') + ']');
+
+ x.hide();
+
+ i
+ .show()
+ .focus();
+
+ })
+ .on('keypress', function(event) {
+
+ event.preventDefault();
+ x.val('');
+
+ });
+
+ });
+
+ // Events.
+ $this
+ .on('submit', function() {
+
+ $this.find('input[type=text],input[type=password],textarea')
+ .each(function(event) {
+
+ var i = $(this);
+
+ if (i.attr('name').match(/-polyfill-field$/))
+ i.attr('name', '');
+
+ if (i.val() == i.attr('placeholder')) {
+
+ i.removeClass('polyfill-placeholder');
+ i.val('');
+
+ }
+
+ });
+
+ })
+ .on('reset', function(event) {
+
+ event.preventDefault();
+
+ $this.find('select')
+ .val($('option:first').val());
+
+ $this.find('input,textarea')
+ .each(function() {
+
+ var i = $(this),
+ x;
+
+ i.removeClass('polyfill-placeholder');
+
+ switch (this.type) {
+
+ case 'submit':
+ case 'reset':
+ break;
+
+ case 'password':
+ i.val(i.attr('defaultValue'));
+
+ x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]');
+
+ if (i.val() == '') {
+ i.hide();
+ x.show();
+ }
+ else {
+ i.show();
+ x.hide();
+ }
+
+ break;
+
+ case 'checkbox':
+ case 'radio':
+ i.attr('checked', i.attr('defaultValue'));
+ break;
+
+ case 'text':
+ case 'textarea':
+ i.val(i.attr('defaultValue'));
+
+ if (i.val() == '') {
+ i.addClass('polyfill-placeholder');
+ i.val(i.attr('placeholder'));
+ }
+
+ break;
+
+ default:
+ i.val(i.attr('defaultValue'));
+ break;
+
+ }
+ });
+
+ });
+
+ return $this;
+
+ };
+
+ /**
+ * Moves elements to/from the first positions of their respective parents.
+ * @param {jQuery} $elements Elements (or selector) to move.
+ * @param {bool} condition If true, moves elements to the top. Otherwise, moves elements back to their original locations.
+ */
+ $.prioritize = function($elements, condition) {
+
+ var key = '__prioritize';
+
+ // Expand $elements if it's not already a jQuery object.
+ if (typeof $elements != 'jQuery')
+ $elements = $($elements);
+
+ // Step through elements.
+ $elements.each(function() {
+
+ var $e = $(this), $p,
+ $parent = $e.parent();
+
+ // No parent? Bail.
+ if ($parent.length == 0)
+ return;
+
+ // Not moved? Move it.
+ if (!$e.data(key)) {
+
+ // Condition is false? Bail.
+ if (!condition)
+ return;
+
+ // Get placeholder (which will serve as our point of reference for when this element needs to move back).
+ $p = $e.prev();
+
+ // Couldn't find anything? Means this element's already at the top, so bail.
+ if ($p.length == 0)
+ return;
+
+ // Move element to top of parent.
+ $e.prependTo($parent);
+
+ // Mark element as moved.
+ $e.data(key, $p);
+
+ }
+
+ // Moved already?
+ else {
+
+ // Condition is true? Bail.
+ if (condition)
+ return;
+
+ $p = $e.data(key);
+
+ // Move element back to its original location (using our placeholder).
+ $e.insertAfter($p);
+
+ // Unmark element as moved.
+ $e.removeData(key);
+
+ }
+
+ });
+
+ };
+
+})(jQuery);
\ No newline at end of file
diff --git a/themes/future-imperfect/images/logo.jpg b/themes/future-imperfect/images/logo.jpg
new file mode 100644
index 00000000..7c522026
Binary files /dev/null and b/themes/future-imperfect/images/logo.jpg differ
diff --git a/themes/future-imperfect/index.php b/themes/future-imperfect/index.php
new file mode 100644
index 00000000..c58e557f
--- /dev/null
+++ b/themes/future-imperfect/index.php
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ whereAmI()=='home') || ($Url->whereAmI()=='tag') || ($Url->whereAmI()=='blog') )
+ {
+ include(PATH_THEME_PHP.'home.php');
+ }
+ elseif($Url->whereAmI()=='post')
+ {
+ include(PATH_THEME_PHP.'post.php');
+ }
+ elseif($Url->whereAmI()=='page')
+ {
+ include(PATH_THEME_PHP.'page.php');
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/themes/future-imperfect/languages/en_US.json b/themes/future-imperfect/languages/en_US.json
new file mode 100644
index 00000000..aab1d10d
--- /dev/null
+++ b/themes/future-imperfect/languages/en_US.json
@@ -0,0 +1,7 @@
+{
+ "theme-data":
+ {
+ "name": "Future Imperfect",
+ "description": "Clean and very responsive theme by @n33co adapted by Diego Najar for Bludit."
+ }
+}
\ No newline at end of file
diff --git a/themes/future-imperfect/languages/es_AR.json b/themes/future-imperfect/languages/es_AR.json
new file mode 100644
index 00000000..9aa94671
--- /dev/null
+++ b/themes/future-imperfect/languages/es_AR.json
@@ -0,0 +1,12 @@
+{
+ "theme-data":
+ {
+ "name": "Future Imperfect",
+ "description": "Tema limpio y adaptable para todo tipo de dispositivos creado por @n33co portado por Diego Najar para Bludit.",
+ "author": "n33co",
+ "email": "",
+ "website": "http://html5up.net",
+ "version": "1.0",
+ "releaseDate": "2015-11-01"
+ }
+}
\ No newline at end of file
diff --git a/themes/future-imperfect/metadata.json b/themes/future-imperfect/metadata.json
new file mode 100644
index 00000000..a5fadaba
--- /dev/null
+++ b/themes/future-imperfect/metadata.json
@@ -0,0 +1,10 @@
+{
+ "author": "n33co",
+ "email": "",
+ "website": "http://html5up.net",
+ "version": "1.0",
+ "releaseDate": "2015-11-01",
+ "license": "CCA 3.0",
+ "requires": "Bludit v1.0",
+ "notes": ""
+}
\ No newline at end of file
diff --git a/themes/future-imperfect/php/head.php b/themes/future-imperfect/php/head.php
new file mode 100644
index 00000000..0d041016
--- /dev/null
+++ b/themes/future-imperfect/php/head.php
@@ -0,0 +1,20 @@
+
title() ?>
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/themes/future-imperfect/php/home.php b/themes/future-imperfect/php/home.php
new file mode 100644
index 00000000..d2c5a072
--- /dev/null
+++ b/themes/future-imperfect/php/home.php
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
+
+
+ content(false) ?>
+
+
+
+
+
+ readMore()) { ?>
+
+
+
+
+
+ tags(true);
+
+ foreach($tags as $tagKey=>$tagName) {
+ echo ''.$tagName.' ';
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/themes/future-imperfect/php/page.php b/themes/future-imperfect/php/page.php
new file mode 100644
index 00000000..1869e82a
--- /dev/null
+++ b/themes/future-imperfect/php/page.php
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+ content() ?>
+
+
+
+
+
diff --git a/themes/future-imperfect/php/post.php b/themes/future-imperfect/php/post.php
new file mode 100644
index 00000000..020a248b
--- /dev/null
+++ b/themes/future-imperfect/php/post.php
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+ content() ?>
+
+
+
+
+
+
+ tags(true);
+
+ foreach($tags as $tagKey=>$tagName) {
+ echo ''.$tagName.' ';
+ }
+ ?>
+
+
+
+
+
+
+
diff --git a/themes/future-imperfect/php/sidebar.php b/themes/future-imperfect/php/sidebar.php
new file mode 100644
index 00000000..2d262c71
--- /dev/null
+++ b/themes/future-imperfect/php/sidebar.php
@@ -0,0 +1,15 @@
+
+
+
+
+ title() ?>
+ description() ?>
+
+
+
+
+
+
+
diff --git a/themes/pure/img/favicon.png b/themes/pure/img/favicon.png
new file mode 100644
index 00000000..517c6c12
Binary files /dev/null and b/themes/pure/img/favicon.png differ
diff --git a/themes/pure/languages/es_AR.json b/themes/pure/languages/es_AR.json
new file mode 100644
index 00000000..f55758f1
--- /dev/null
+++ b/themes/pure/languages/es_AR.json
@@ -0,0 +1,7 @@
+{
+ "theme-data":
+ {
+ "name": "Pure",
+ "description": "Tema simple y limpio basado en el framework Pure.css."
+ }
+}
\ No newline at end of file
diff --git a/themes/pure/metadata.json b/themes/pure/metadata.json
new file mode 100644
index 00000000..5d3fad82
--- /dev/null
+++ b/themes/pure/metadata.json
@@ -0,0 +1,10 @@
+{
+ "author": "Bludit",
+ "email": "",
+ "website": "https://github.com/dignajar/bludit-themes",
+ "version": "1.0",
+ "releaseDate": "2016-01-15",
+ "license": "MIT",
+ "requires": "Bludit v1.0",
+ "notes": ""
+}
\ No newline at end of file