Anditas Improvements to the Blogger Template HTML Editor

Improvements to the Blogger Template HTML Editor
Whether you’re a web develop--er who builds Blog Templates for a living, or a Anditas Blog owner who prefers to make changes to your Template using HTML, CSS or JavaScript, you may be interested in some enhance--ments that we made to Blogger’s Template HTML Editor.

Your blog’s HTML template is the source code that controls the appearance of your blog. This template can be custom--ized to appear however you’d like. The improved HTML template editor now supports line numbering, syntax high--lighting, auto-indentation and code folding to make editing your template much easier.

Suppose we wanted to move the date of a blog post under--neath the post title, similar to the Blogger Buzz blog. To do this, follow these steps :

  • Click the “Template” tab on the Blogger dashboard, then the “Edit HTML” button, to see the new Template HTML Editor
  • Locate the “Blog1” widget quickly using the new “Jump to widget” drop down
  • This widget controls how your blog posts are display--ed. The code inside the widget is folded by default. Clicking the new fold markers ‘►’ next to the line numbers expands the widget and reveals a set of “includable” tags
  • 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 “Preview template” button to see the updates


The post date is exactly where we want it, so tab back to “Edit Template”, hit “Save Template” and we’re done!

Finally, we’ve added a “Format template” button that automatic--ally cleans up the indentation of the template, and made it possible to search for text by pressing “Ctrl+F” once you’ve clicked into the editor. To find and replace text occurrences one by one, use “Ctrl+Shift+F” or to find and re--place all occurrences at once, use “Ctrl+Shift+R”.
  
We work--ed on this project as part of Google Australia’s BOLD Diversity Internship Program. We hope you enjoy the changes we’ve made!

Posted by: +Samantha Schaffer and +Renee Kwang, Software Engineer Interns.


0 komentar

Posting Komentar