Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(405)

Unified Diff: chrome/common/extensions/docs/templates/private/article.html

Issue 92143003: Docserver: Reorganise the site templates into a single site.html file which (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/templates/private/article.html
diff --git a/chrome/common/extensions/docs/templates/private/article.html b/chrome/common/extensions/docs/templates/private/article.html
new file mode 100644
index 0000000000000000000000000000000000000000..811f9ec26eee1077bbad2d3cac36325d49823362
--- /dev/null
+++ b/chrome/common/extensions/docs/templates/private/article.html
@@ -0,0 +1,13 @@
+{{- This is the shared template for Extension/App articles.
+ - |article| The article content.
+ - |sidenav| The sidenav items.
+ - |platform| The platform.
+ - |platformTitle| The title of the platform ("Extensions" or "Apps").
+ -}}
+{{+content:partials.site
+ platform:platform
+ platformTitle:platformTitle
+ sidenav:sidenav}}
+$(table_of_contents)
+{{+article platform:platform platformTitle:platformTitle /}}
+{{/partials.site}}

Powered by Google App Engine
This is Rietveld 408576698