canmove, Confirmed users
7,088
edits
(Adding Viewing the Source section) |
|||
Line 24: | Line 24: | ||
* [https://bugzilla.mozilla.org/enter_bug.cgi Enter a new bug] | * [https://bugzilla.mozilla.org/enter_bug.cgi Enter a new bug] | ||
==Viewing The Source== | |||
The site uses a templating system to add the header, side navigation and footer to all of the pages. If you view the source of a page through your browser you are seeing the results of merging a page with a template. To see what the HTML files look like before they are merged, you can look in the footer of any page (except the home page) and click on the ''Edit this Page'' link. For instance: | |||
* [https://doctor.mozilla.org/?file=mozilla-org/html/about/index.html Here is the source for the About page] | |||
* [https://doctor.mozilla.org/?action=edit&file=mozilla-org/html/template-about.html Here is the source for the About template] | |||
Our repository is open, so feel free to check out different pages to see how things are put together. | |||
==Staging Site== | ==Staging Site== |