A simple template inspired by torrent sites customized from Blogger's default template.
V3: https://simplecustomv3.blogspot.com/
- Simple and minimalist
- Fast loading
- List many blog post in homepage
- Toggle dark mode
- Messy code
- May contain error but will be improved from time to time
Blogger > Theme > Restore > Upload .xml file
- 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"
andid="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 + "#download" '><i class='fas fa-download fa-sm' style='float: right;font-size:16px;'/></a></span>
<b:if cond='data:blog.pageType == "item"'>
<script>
$( document ).ready(function() {
if ( document.location.href.indexOf('#download') > -1 ) {
window.open(document.getElementById("download").href, "_self");
}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
-
Version 2
Instruction: Add classtable-responsive
to table tag anddata-label="TH-NAME"
in table data tag (ReplaceTH-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>
-
-
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.