浏览代码

Remote: adding index and archive templates (#5575)

* Remote: adding archive template

* Remote: adding index template
Matias Benedetto 3 年之前
父节点
当前提交
319615cde9
共有 2 个文件被更改,包括 18 次插入0 次删除
  1. 13 0
      remote/templates/archive.html
  2. 5 0
      remote/templates/index.html

+ 13 - 0
remote/templates/archive.html

@@ -0,0 +1,13 @@
+<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
+
+<!-- wp:group {"layout":{"inherit":true}} -->
+<div class="wp-block-group">
+<!-- wp:query-title {"type":"archive","align":"wide","fontSize":"huge"} /-->
+<!-- wp:spacer {"height":"40px"} -->
+<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
+<!-- /wp:spacer --></div>
+<!-- /wp:group -->
+
+<!-- wp:pattern {"slug":"remote/posts-list"} /-->
+
+<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true}} /-->

+ 5 - 0
remote/templates/index.html

@@ -0,0 +1,5 @@
+<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
+
+<!-- wp:pattern {"slug":"remote/posts-list"} /-->
+
+<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true}} /-->