[THEME] Clean Blog

User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

Clean Blog
Design by Start Bootstrap
Website: http://startbootstrap.com/template-over ... lean-blog/
Download on Github Bludit Themes: https://github.com/dignajar/bludit-themes

Notes
To make posts with background covers you can uses the class name bludit-img-justify, for example:

Code: Select all

<img class="bludit-img-justify" src="background.jpg">
User avatar
Fred
Legend Bludit
Posts: 236
Joined: Wed Jun 24, 2015 2:14 pm
Location: France
Contact:

Hello Diego,

You have a error on path post image.

Replace

Code: Select all

$coverImage = HTML_PATH_THEME_IMG.'/home-bg.jpg';
by

Code: Select all

$coverImage = HTML_PATH_THEME.'img/home-bg.jpg';
I think is better in index.php, like that, it makes some lines and less in the other theme files.

Code: Select all

    <!-- Content -->
    <?php
		// --- COVER IMAGE ------------------------------------------------------------
		// --- by Diego Najar for Bludit ---------------------------------------------	    
		$coverImage = HTML_PATH_THEME.'img/home-bg.jpg';
		
        if( ($Url->whereAmI()=='home') || ($Url->whereAmI()=='tag') )
        {
            include('php/home.php');
        }
        elseif($Url->whereAmI()=='post')
        {
            include('php/post.php');
        }
        elseif($Url->whereAmI()=='page')
        {
            include('php/page.php');
        }
    ?>
Apart if the goal is to have a different background image on the three side of the page.

Other hooks not integrate

Code: Select all

    <!-- Plugins Page Begin -->
    <?php Theme::plugins('pageEnd') ?>
I love this theme with background feature!
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

- I forgot push some updates on github, I added the constant HTML_PATH_THEME_IMG.

- Now you have a default background for pages, post and home.

- I added the hooks missings, thanks.
carlosduran
Jr. Bludit
Posts: 2
Joined: Tue Dec 15, 2015 8:32 pm

Hola, Diego. Me gusta mucho este tema para Bludit pero me encontré con un pequeño detalle con el sistema de comentarios de Disqus. Al parecer el ancho siempre ocupa el 100% de toda la pantalla, creo que falta agregar alguna clase CSS para que el ancho cambie dependiendo la pantalla. De todas manera gracias por portar este tema a Bludit ;)
Usando Bludit en carlosduran.me :)
sylvian
Ssr. Bludit
Posts: 22
Joined: Tue Mar 14, 2017 7:27 pm

Hello
I want to have the tags appearing in a website with this Theme. How should I proceed?
Thanks for answering
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

You can add the following code to the template post.php:

Code: Select all

<?php
    $tags = $Post->tags(true);

    foreach($tags as $tagKey=>$tagName) {
        echo '<li><a href="'.HTML_PATH_ROOT.$Url->filters('tag').'/'.$tagKey.'">'.$tagName.'</a></li>';
    }
?>
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
sylvian
Ssr. Bludit
Posts: 22
Joined: Tue Mar 14, 2017 7:27 pm

Yeah! It works!

Now what i want to do is to incorporate the full system of tags of log theme in the clean blog theme.

I've begun understanding the code but it's too complicated for me. Moreover the css files in clean blog are not well presented in textmate editor or dashcode editor...
RolfL
Jr. Bludit
Posts: 1
Joined: Sun May 28, 2017 8:37 am

Hi,

how can it be achieved, that the top-navigation bar appears on smartphone-devices
after scrolling up in a post, like it does on tablet- and desktop-pc? If one has a quite
long post/page, it is a bit uncomfortable to first scroll to the top-most position until the
bar comes into sight.

Cool theme btw., thanks to the author!

-RolfL

Update:
Topic is discussed on github too - but with no solution so far. I decided to use this solution:
https://forum.bludit.com/viewtopic.php?f=21&t=937
Thanks and kudos to the author!
Mark
Ssr. Bludit
Posts: 26
Joined: Sun Oct 08, 2017 4:01 pm

I am a new user, well will be in about 3 days or so. Amazing piece of work so far. Kudos to all involved. I am looking to use the Clean Blog theme for my personal website. Any chance it is going to be updated to Bootstrap 4? I can try it myself but there may be errors as I would just be updating all the existing Clean Blog files from 3.3.2 to 4.0.
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

I would wait... At the moment the themes are adapted to Bludit 2.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Post Reply