OSDN Git Service

Regular updates
[twpd/master.git] / _includes / values / title.html
diff --git a/_includes/values/title.html b/_includes/values/title.html
new file mode 100644 (file)
index 0000000..bfc2ea1
--- /dev/null
@@ -0,0 +1,11 @@
+{%
+  if page.full_title
+%}{{ page.full_title }}{%
+  elsif page.type == 'article'
+%}{{ page.title }} cheatsheet{%
+  elsif page.title
+%}{{ page.title }}{%
+  else
+%}{{ site.title }}{%
+  endif
+%}