Your blog’s HTML template is the source code that controls the appearance of your blog. This template can be customized to appear however you’d like. The improved HTML template editor now supports line numbering, syntax highlighting, auto-indentation and code folding to make editing your template much easier.
Suppose we wanted to move the date of a blog post underneath the post title, similar to the. To do this, follow these steps:
Inside the “main” includable is the block of code that renders the post date:
Cut the post date code section and move it to where we want it, in this case, under the post title in the “post” includable:
To check our changes, click the new button to see the updates:
Finally, we’ve added a button that automatically cleans up the indentation of the template, and made it possible to search for text by pressing
To find and replace text occurrences one by one, use
To find and replace all occurrences at once, use
We worked on this project as part of Google Australia’s BOLD Diversity Internship Program. We hope you enjoy the changes we’ve made!
(Cross-posted from the Blogger Developers Network)
0 comments:
Post a Comment