summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2019-07-17 14:33:41 -0400
committerDaniel Micay <danielmicay@gmail.com>2019-07-17 14:33:41 -0400
commitffa662f682efd86b33a257c9755f44c077a6b82e (patch)
tree5fee7e25822a93ce49289d2095b6c20dd026a0b4 /static
parent6cd3161c1a5bc6e2024162655fb63a11e9b6384e (diff)
web content naming style
Diffstat (limited to 'static')
-rw-r--r--static/build.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/static/build.html b/static/build.html
index 609b334e..f3203367 100644
--- a/static/build.html
+++ b/static/build.html
@@ -653,6 +653,10 @@ export PATH="$PATH:$HOME/sdk/tools:$HOME/sdk/tools/bin:$HOME/sdk/platform-tools:
should be declared with <code>let</code> but never use <code>var</code> as it is
effectively broken. Try to prefer loops with <code>for..of</code>.</p>
+ <p>For web content, use dashes as user-facing word separators rather than underscores.
+ Page titles should follow the scheme "Page | Directory | Higher-level directory |
+ Site" for usability with a traditional title as the Open Graph title.</p>
+
<p>Avoid designing around class inheritance unless it's a rare case where it's an
extremely good fit or the language sucks (Java) and it's the least bad approach, but
still try to avoid it.</p>