Last active
August 15, 2020 06:59
-
-
Save adimancv/3efcdcd8e551ec93348dd182520cd680 to your computer and use it in GitHub Desktop.
Reset Blogger Template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8' ?> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Reset Template Blogger</title> | |
<b:skin><![CDATA[ ]]></b:skin> | |
</head> | |
<body> | |
<b:section id='contoh'/> | |
</body> | |
</html> |
Menampilkan post berdasarkan Label
Replace kode ini:
<b:include data='post' name='post'/>
Dengan ini:
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast == "true"'>
<b:if cond='data:label.name == "NAMA_LABEL"'>
<b:include data='post' name='post' />
</b:if>
</b:if>
</b:loop>
<b:else/>
<b:include data='post' name='post' />
</b:if>
Menghilangkan Atom
Cari dan hapus kode ini:
<b:include data='feedLinks' name='feedLinksBody'/>
Menghilangkan Beranda/Home
Cari dan hapus kode ini:
<data:homeMsg/>
Hilangkan PostBody/Deskripsi di HomePage
<b:if cond='data:blog.pageType in {"static_page","item"}'>
<!--
<div class='post-body entry-content' ...>
</div>
-->
</b:if>
Cara menghilangkan css dan javascript bawaan Blogger
Menghilangkan ini: widget_css_bundle.css
dan ini widgets.js
- Ganti
<head>
dengan<head>
- Ganti
</head>
dengan</head><!--<head/>-->
- Ganti
</body>
dengan<!--</body>--> </body>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Untuk menapilkan Post