Skip to content

Simple Custom is a template that is aimed for fast page load, simple and minimalistic design that can list many blog posts title in one page. Inspired by torrent websites template, customized from Blogger default template.

Notifications You must be signed in to change notification settings

ayaxxchanz/SimpleBloggerTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 

Repository files navigation

Github Releases (by Release) Donate

Simple Blogger Template

A simple template inspired by torrent sites customized from Blogger's default template.

Demo

V3: https://simplecustomv3.blogspot.com/

Feature

  • Simple and minimalist
  • Fast loading
  • List many blog post in homepage
  • Toggle dark mode

Cons

  • Messy code
  • May contain error but will be improved from time to time

Installation

Blogger > Theme > Restore > Upload .xml file

Important notes

  • Make sure to choose Theme > Choose Mobile Theme > Desktop
  • Change date format and number of post in Layout > Blog Posts > Edit
  • Change navigation link in Theme > Edit HTML
  • Change JST (Japan Standard Time) in the template to the timezone you use for your blog
  • Use class="btn" and id="download" to display download button.

Example: <a class="btn" id="download" href="#">Download</a>

  • The download button on the homepage will open the link inside a post that has id="download" in the same tab. I want to make it open in a new tab, but most browsers will mark it as untrusted event and block it from opening. So the best way if you want to use this is, use a direct download link in the post. This is because even when the link is open in the same tab, it will just automatically download the file instead of redirecting visitor to other page. If you want to remove the download button on the homepage, just remove this in the template:

<span class='home-dl'><a expr:href='data:post.link ? data:post.link : data:post.url + &quot;#download&quot; '><i class='fas fa-download fa-sm' style='float: right;font-size:16px;'/></a></span>

<b:if cond='data:blog.pageType == &quot;item&quot;'>
  <script>
  $( document ).ready(function() {
      if ( document.location.href.indexOf(&#39;#download&#39;) &gt; -1 ) {
          window.open(document.getElementById(&quot;download&quot;).href, &quot;_self&quot;);
      }else{return false;}
  });
  </script>
</b:if>
  • There is 2 versions of table. Choose which one you like

    • Version 1
      Instruction: None. You don't need to do anything to use it
      alt text

    • Version 2
      Instruction: Add class table-responsive to table tag and data-label="TH-NAME" in table data tag (Replace TH-NAME with your table heading text). This is for VERTICAL TABLE ONLY
      Example:

    <table class="table-responsive">
      <thead><th scope="col">TABLE HEADING</th></thead>
      <tbody>
        <tr>
          <td data-label="TABLE HEADING">Table data</td>
        </tr>
      </tbody>
    </table>
    

    alt text

  • To embed YouTube video, copy embed code and paste inside <div class="video"></div>.
    Example:

    <div class="video">
      <embed code>
    </div>
    
  • You can insert ad at the bottom of each post by replacing the code inside <div class='banner-f'> and <div class='square-f'> tag.

About

Simple Custom is a template that is aimed for fast page load, simple and minimalistic design that can list many blog posts title in one page. Inspired by torrent websites template, customized from Blogger default template.

Topics

Resources

Stars

Watchers

Forks