diff options
author | Yaroslav de la Peña Smirnov <contact@yaroslavps.com> | 2018-10-10 02:39:31 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <contact@yaroslavps.com> | 2018-10-10 02:39:31 +0300 |
commit | ab6959b4be01562492d3f3fbc60c82b0ffe600bf (patch) | |
tree | 3ef2687376057baf5ba45ef078a8000de8ab63c8 | |
parent | 472cde1416a465015722f8b1c2b2ebdb828160e2 (diff) | |
download | w3blog-ab6959b4be01562492d3f3fbc60c82b0ffe600bf.tar.gz w3blog-ab6959b4be01562492d3f3fbc60c82b0ffe600bf.zip |
v0.5 readme, screenshots
-rwxr-xr-x | README.md | 20 | ||||
-rw-r--r-- | screenshots/v0.4.4/w3blog_homev0.4.4.png | bin | 0 -> 188207 bytes | |||
-rw-r--r-- | screenshots/v0.5.0/w3blog_homev0.5.0.png | bin | 0 -> 143484 bytes |
3 files changed, 17 insertions, 3 deletions
@@ -1,5 +1,5 @@ -# w3blog version 0.4 # +# w3blog version 0.5 # w3blog is a simple blog engine for Django, with some focus on multilingual capabilities. It includes all of the basic features expected of a traditional Web log (also known as blog), as well as multilingual features, i.e. translations of blog posts which are delivered automatically in the user's preferred language using the internationalization capabilities of Django, enabling the possibility of targeting people from different countries in a single blog/site. @@ -7,6 +7,17 @@ This django app is still a work in progress. More features will be added/complet To install, run "pip install w3blog". Currently tested to be compatible with Django 1.11 and 2.0. +## New in v0.5 ## + +CSS and JS have been completely reworked to get rid of bloat (ie Bootstrap and JQuery), and provide a much nicer default look. Besides those improvements, new features include: + +* An option to enable built-in dynamic load of more posts through ajax instead of the default good old pagination model. ('dynamic_load' = True). +* An option to use infinite scroll for dynamic load (more posts load automatically when scrolling to the bottom; "'dynamic_load' = True" and "'infinite_load' = True"). +* Option to make the sidebar float (only for medium/big screen sizes) ('floating_sidebar' = True). +* Comments now include the date they were published (for some reason forgot to add that on previous versions). + +If you encounter any errors or problems when using this Django app, please do make sure to open an issue on this project's Github page, or if you don't have Github account (and don't wish to create one), send me an email at contact@yaroslavps.com. Note: if you are using something like outlook (or any other big company email) my response email might end up in your spam folder or might be even blocked altogether by your email provider. + ### Quick Start ### 1. Add "weblog" to your INSTALLED_APPS setting in your settings.py @@ -18,7 +29,7 @@ url(r'^blog/', include('weblog.urls')), url(r'^summernote/', include('django_summernote.urls')), ``` -3. Migrate the models to the database by running "python manage.py migrate" +3. Migrate the models to the database by running "python manage.py makemigrations" and then "python manage.py migrate" 4. You can configure and customize the blog by adding and modifying to your liking/needs the following settings to your settings.py: @@ -35,12 +46,15 @@ WEBLOG_SETTINGS = { 'show_categories': False, 'show_archive': True, 'posts_per_page': 10, + 'dynamic_load': False, # New in version 0.5 + 'infinite_load': False, # New in version 0.5 + 'floating_sidebar': False, # New in version 0.5. Doesn't affect small screens (ie mobile devices, etc.) 'enable_rss': True, 'home_title': 'Welcome to the blog!', } ``` -5. Note that if you use your own base template, you will either need to link Bootstrap (v4) in your base template's head, or write your own styles for the site based on the bootstrap classes. You will as well need to link files "weblog/css/weblog.css" and "weblog/js/weblog.js" in your html head, or write your own. +5. Note that if you use your own base template, you will need to link "weblog/css/weblog.css" and "weblog/js/weblog.js" in your html head. Alternatively you can write your own custom css (or even js), or just extend the default css and js with your own. For reference you can check the project's templates and css in its Github page, especially if you want to rewrite completely the templates with your own. Read more about it here: https://www.yaroslavps.com/weblog/python/w3blog-blog-engine/ diff --git a/screenshots/v0.4.4/w3blog_homev0.4.4.png b/screenshots/v0.4.4/w3blog_homev0.4.4.png Binary files differnew file mode 100644 index 0000000..7885d06 --- /dev/null +++ b/screenshots/v0.4.4/w3blog_homev0.4.4.png diff --git a/screenshots/v0.5.0/w3blog_homev0.5.0.png b/screenshots/v0.5.0/w3blog_homev0.5.0.png Binary files differnew file mode 100644 index 0000000..074667a --- /dev/null +++ b/screenshots/v0.5.0/w3blog_homev0.5.0.png |