')
+ .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/bl-themes/blogme/images/logo.jpg b/bl-themes/blogme/images/logo.jpg
new file mode 100644
index 00000000..7c522026
Binary files /dev/null and b/bl-themes/blogme/images/logo.jpg differ
diff --git a/bl-themes/blogme/index.php b/bl-themes/blogme/index.php
new file mode 100644
index 00000000..0acbae1c
--- /dev/null
+++ b/bl-themes/blogme/index.php
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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');
+ }
+ ?>
+
+
+
+
+ whereAmI()=='home') || ($Url->whereAmI()=='tag') || ($Url->whereAmI()=='blog') ) { ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bl-themes/blogme/languages/en_US.json b/bl-themes/blogme/languages/en_US.json
new file mode 100644
index 00000000..6c9602cd
--- /dev/null
+++ b/bl-themes/blogme/languages/en_US.json
@@ -0,0 +1,7 @@
+{
+ "theme-data":
+ {
+ "name": "Blogme",
+ "description": "Minimalist and clean, with cover image supported, based on Future Imperfect."
+ }
+}
\ No newline at end of file
diff --git a/bl-themes/blogme/metadata.json b/bl-themes/blogme/metadata.json
new file mode 100644
index 00000000..26108020
--- /dev/null
+++ b/bl-themes/blogme/metadata.json
@@ -0,0 +1,10 @@
+{
+ "author": "n33co & diego",
+ "email": "",
+ "website": "https://github.com/dignajar/bludit-themes",
+ "version": "1.0",
+ "releaseDate": "2016-01-21",
+ "license": "CCA 3.0",
+ "requires": "Bludit v1.0",
+ "notes": "This theme is based on Future Imperfect, all credits to the author n33co."
+}
\ No newline at end of file
diff --git a/bl-themes/blogme/php/head.php b/bl-themes/blogme/php/head.php
new file mode 100644
index 00000000..0d041016
--- /dev/null
+++ b/bl-themes/blogme/php/head.php
@@ -0,0 +1,20 @@
+
title() ?>
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bl-themes/blogme/php/home.php b/bl-themes/blogme/php/home.php
new file mode 100644
index 00000000..0bed7bb2
--- /dev/null
+++ b/bl-themes/blogme/php/home.php
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ coverImage()) {
+ echo '
.')
';
+ }
+ ?>
+
+
+
+ content(false) ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bl-themes/blogme/php/page.php b/bl-themes/blogme/php/page.php
new file mode 100644
index 00000000..5355300f
--- /dev/null
+++ b/bl-themes/blogme/php/page.php
@@ -0,0 +1,29 @@
+
title() ?>
+
+
+
+
+
+
+
+
+
+
+ coverImage()) {
+ echo '
';
+ }
+ ?>
+
+
+ content() ?>
+
+
+
+
+
\ No newline at end of file
diff --git a/bl-themes/blogme/php/post.php b/bl-themes/blogme/php/post.php
new file mode 100644
index 00000000..fd2ab921
--- /dev/null
+++ b/bl-themes/blogme/php/post.php
@@ -0,0 +1,45 @@
+
title() ?>
+
+
+
+
+
+
+
+
+
+
+
+ coverImage()) {
+ echo '
.')
';
+ }
+ ?>
+
+
+
+ content(true) ?>
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bl-themes/blogme/php/sidebar.php b/bl-themes/blogme/php/sidebar.php
new file mode 100644
index 00000000..9c47232d
--- /dev/null
+++ b/bl-themes/blogme/php/sidebar.php
@@ -0,0 +1,14 @@
+
+
+
+ title() ?>
+ description() ?>
+
+
+
+
+
+
+
\ No newline at end of file