? Editing: Post:21.body Save Delete Cancel
Content changed Sign & Publish new content

ZeroBlog Plus

My ZeroBlog.

Follow in NewsfeedFollowing

TOC by date
TOC by tag

Latest comments:

Change Log

on Feb 06, 2018 ·
1 comment

tag: tag1 tag2

[220218] Fix text getting hidden in Markdown mode.
[110218] Fix scrollbar returning to top when editing in Markdown mode in single post page.
[060218] Add banner on the left panel, idea from ZeroNet logo and banner. If you prefer to remove it, simply edit index.html and remove the block of code below:

 <!-- Banner -->
 <div class="banner" style="padding-bottom: 50px;">
   <a target="_blank" class="banner-link" href="https://github.com/HelloZeroNet">
     <img alt="ZeroNet banner" src="img/banner-s-dark.png" style="width: 100%;">
   </a>
 </div>
 <!-- EOF Banner -->

[030218] TOC by Tag can be toggled on left panel now.
[020218] Small UI fix and improvement. Left panel and footer only show up after the page is loaded, so no more ugly flashy things. Left panel is dim now on single post page, except when cursor is on it.
[161217] UI improvement, now the width of container (left & right panel) is 960px, and the container will stay in center if the window is wider than 960px.
Add dark theme stylesheet, if you want to use it, open index.html in the zite root folder and add this line:

...
 <link rel="stylesheet" href="css/all.css" />
+ <link rel="stylesheet" href="dark.css" />
...

You can check my blog for how it looks like.
[151117] Rename myZeroBlog to ZeroBlog Plus. Fix pagination bug. Source code is now available on Git Center.
[200917] Add quite some UI improvement, tag index is now ordered by post count.
[080917] Hopefully fix the bug that tag sometimes duplicates itself.
[240717] Fix Pager (Prev Page, Next Page), fix list and table font size in mobile mode.
[220717] Fix publish bar in small screen.
[200717] Add mobile viewport suport, this feature is not upgradable, so if you have cloned this zite, you need to add it manually in /path/to/zite/content.json:

{
...

to

{
"viewport": "width=device-width, initial-scale=1.0",
...

Then sign your blog to take effect.
[200717] Fix a bug that left panel is not editable in mobile mode.

Read more

Updated ZeroBlog with TOC, Tag and Mobile Support

on Jul 14, 2017 ·
3 comments

tag: tag2 tag3

There is a ZeroBlog that supports tag and date index, but it's based on an old version, which doesn't support alloy-editor and image inserting yet. I use the awesome meld tool and merge the code base, also add some mobile support. The source code is available on Git Center.

Bildschirmfoto_2017-07-14_21-05-02.png (24x24)

The clone function should work. But you may prefer to merge it to your present blog:
Backup your blog first, then edit the content.json in your blog root directory and change the "cloned_from": "..." to "cloned_from": "15mSYzsDxzarssqtV1pFPKqoCTaLdjVB2f" and sign your site, then go to ZeroHello, from the site option (click the 3-dot button near your blog) and choose Upgrade code. That's all.

If it doesn't work, simply copy all the folders and files except content.json and data folder in the root directory of your blog (which contains your blog data and user comments). Finally from the config panel (drag the "0" button to left to open it), sign and publish your new blog, reload and rebuild your database. You may also need to restart your web browser to refresh the css code.

Bugs and Troubleshootings:

[Fixed] There's a little random chance that tags will duplicate themselves... It's bug that already exists in the original version. The author even places the relative code on the top of the js file:

//I don't know how to write this function as coffee script
//it's been called at two place and I don't know how to use
//-> => @ correctly
function tagToHtml(tag){
  if (typeof tag === 'string'){
    //input parameter must not empty nor have duplicate
    tag = tag.split(" ");
  }

  if (tag.length==0) {
    return "<a href='?Toc=tagNone'>not tagged</a>";    
  }
  var ret = "";

  for (i in tag){
    value = tag[i]
    ret+=("<a href='?Toc=tag:"+encodeURIComponent(value)+"'>"+value+"</a> ");
  }
  return ret;
}

Reload the page solves the problem.
Hope you enjoy it ;)

Read more

Congratulations!

on May 31, 2015
tag: not tagged

Your zeronet blog has been successfully created!

Read more
Add new post

Title

21 hours ago · 2 min read ·
3 comments

tag:
Body
Read more

Not found

21 hours ago · 2 min read
tag:

0 Comments:

user_name1 day ago
Reply
Body
This page is a snapshot of ZeroNet. Start your own ZeroNet for complete experience. Learn More