Merge branch 'master' of github.com:dignajar/bludit

This commit is contained in:
Diego Najar 2017-10-25 19:51:13 +02:00
commit 723b6273fd
5 changed files with 52 additions and 13 deletions

View File

@ -14,7 +14,7 @@ Bludit supports **Markdown** and **HTML code** for the content.
[![Bludit PRO](https://img.shields.io/badge/Bludit-PRO-blue.svg)](https://pro.bludit.com/)
Social networks
Social Networks
---------------
- [Twitter](https://twitter.com/bludit)
@ -27,23 +27,38 @@ Requirements
You just need a web server with PHP support.
PHP v5.3 or higher.
PHP mbstring module for full UTF-8 support.
PHP gd module for image processing.
PHP dom module for DOM manipulation.
PHP json module for JSON manipulation.
Supported web servers:
Bludit supports almost every webserver
PHP Built-in web server
- PHP v5.3 or higher.
- PHP [mbstring](http://php.net/manual/en/book.mbstring.php) module for full UTF-8 support.
- PHP [gd](http://php.net/manual/en/book.image.php) module for image processing.
- PHP [dom](http://php.net/manual/en/book.dom.php) module for DOM manipulation.
- PHP [json](http://php.net/manual/en/book.json.php) module for JSON manipulation.
- Webserver with PHP support
- Supported web servers:
* Bludit supports almost every webserver
* PHP Built-in web server
Installation guide
Installation Guide
------------------
1. Download the latest version from https://cdn.bludit.com/builds/bludit_latest.zip
2. Extract the zip file into a directory like `bludit`.
3. Upload the directory `bludit` to your server/hosting.
1. Download the latest version from the official page. [Bludit.com](https://www.bludit.com)
2. Extract the zip file into a directory like bludit.
3. Upload the directory `bludit` to your web server or hosting.
4. Visit your domain https://example.com/bludit/
5. Follow the Bludit Installer to configure the website.
Docker Image
------------
Bludit provides an official Docker image.
- https://hub.docker.com/r/bludit/docker/
License
-------
Bludit is open source software licensed under the [MIT license](https://tldrlegal.com/license/mit-license).

View File

@ -325,7 +325,9 @@ button.aslink:hover {
}
.bl-publish-sidebar {
display: none !important;
width: 100% !important;
padding: 0 !important;
margin-bottom: 25px !important;
}
.bl-publish-view {

View File

@ -57,6 +57,16 @@ article.page footer {
text-align: right;
}
/* PAGINATION */
.pagination {
width: 100%;
}
.pagination > li > a.float-right {
float: right;
}
/* PLUGINS */
div.plugin:not(:last-child) {

View File

@ -26,3 +26,15 @@
</article>
<?php endforeach ?>
</section>
<!-- Pagination -->
<ul class="pagination">
<?php
if (Paginator::showPrev()) {
echo '<li><a href="'.Paginator::prevPageUrl().'">'.$L->get('Previous page').'</a></li>';
}
if (Paginator::showNext()) {
echo '<li><a href="'.Paginator::nextPageUrl().'" class="float-right">'.$L->get('Next page').'</a></li>';
}
?>
</ul>

View File

@ -25,11 +25,11 @@
<ul class="pagination">
<?php
if (Paginator::showPrev()) {
echo '<li><a href="'.Paginator::prevPageUrl().'">'.$L->get('Next').'</a></li>';
echo '<li><a href="'.Paginator::prevPageUrl().'">'.$L->get('Previous page').'</a></li>';
}
if (Paginator::showNext()) {
echo '<li><a href="'.Paginator::nextPageUrl().'">'.$L->get('Previous').'</a></li>';
echo '<li><a href="'.Paginator::nextPageUrl().'">'.$L->get('Next page').'</a></li>';
}
?>
</ul>