brahm / clean-blog-textpattern Goto Github PK
View Code? Open in Web Editor NEWA clean, Bootstrap blog theme ready to install and use in Textpattern 4.7+.
License: GNU General Public License v3.0
A clean, Bootstrap blog theme ready to install and use in Textpattern 4.7+.
License: GNU General Public License v3.0
Note: This field was not mentioned in the documentation.
clean_head line 10
Line 10
Current:
<txp:if_individual_article>
<meta name="description" content="<txp:custom_field name="Post_Description" />" />
</txp:if_individual_article>
Suggestion:
<txp:if_individual_article>
<txp:if_custom_field name="Post_Description">
<meta name="description" content="<txp:custom_field name="Post_Description" />" />
</txp:if_custom_field>
</txp:if_individual_article>
It can be removed from clean_head.
page single line 20:
<h2 class="subheading"><txp:excerpt /></h2>
Unfortunately, this generates an error:
Textpattern Notice: Article tags cannot be used outside an article context.
To correct it, I made a new form called clean_excerpt:
<txp:excerpt />
and replaced the code on line 20 with:
<h2 class="subheading"><txp:article form="clean_excerpt" limit="1" /></h2>
Line 10
Current:
<time datetime="2016-04-14T23:18:22+00:00">April 14, 2016 at 11:18 pm</time>
Suggestion:
<time datetime="<txp:comment_time format="%FT%H:%M:%S+00:00" />"><txp:comment_time format="%B %e, %Y" /> at <txp:comment_time format="%H:%M %p" /></time>
Line 11
Current:
<form action="http://job.brahm.com.br/wp-comments-post.php" method="post" id="commentform" class="comment-form" novalidate>
Suggestion:
<form action="<txp:permlink />#cpreview" method="post" id="commentform" class="comment-form" novalidate>
default Line 31
Current:
<header class="intro-header" style="background-image: url('<txp:custom_field name="Article BG" />')">
Suggestion:
<txp:if_custom_field name="Article BG">
<header class="intro-header" style="background-image: url('<txp:custom_field name="Article BG" />')">
<txp:else />
<header class="intro-header" style="background-image: url('<txp:site_url />assets/img/home-bg.jpg')">
</txp:if_custom_field>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.