From af8b61cf2816ea330ee35b1e3fcb3d2b24a0f05d Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 20 Nov 2022 22:36:04 +0900 Subject: refactor: organize template files --- templates/document__tag.html.erb | 58 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 templates/document__tag.html.erb (limited to 'templates/document__tag.html.erb') diff --git a/templates/document__tag.html.erb b/templates/document__tag.html.erb new file mode 100644 index 0000000..c1429ec --- /dev/null +++ b/templates/document__tag.html.erb @@ -0,0 +1,58 @@ +<% _stylesheets = attr 'stylesheets' %> +<% _author = attr 'author' %> +<% _description = attr 'description' %> +<% _lang = attr 'lang' %> +<% _site_copyright_year = attr 'site-copyright-year' %> +<% _copyright_year = attr 'copyright-year' %> +<% _site_name = attr 'site-name' %> +<% _title = title %> +<% _posts = posts %> + + + + + + + + + + <%= _title %> | <%= _site_name %> + <% for stylesheet in _stylesheets %> + + <% end %> + + +
+ +
+
+ + <% for post in _posts %> + + <% end %> +
+ + + -- cgit v1.2.3-70-g09d2