Ames: Initial commit. (#5152)
* Ames: Initial commit. * Ames: Add index.html to fix "Template part has been deleted or is unavailable" error. This can be removed when a fix lands in Gutenberg. Co-authored-by: Jason Crist <jcrist@pbking.com>
This commit is contained in:
parent
613b59347a
commit
18ff88d4f5
5 changed files with 150 additions and 0 deletions
32
ames/block-templates/index.html
Normal file
32
ames/block-templates/index.html
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||||
|
|
||||||
|
<!-- wp:query {"tagName":"main","layout":{"inherit":true}} -->
|
||||||
|
<main class="wp-block-query">
|
||||||
|
<!-- wp:post-template -->
|
||||||
|
<!-- wp:group -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:post-title {"isLink":true} /-->
|
||||||
|
<!-- wp:post-featured-image {"isLink":true} /-->
|
||||||
|
<!-- wp:post-excerpt /-->
|
||||||
|
<!-- wp:template-part {"slug":"post-meta-icons"} /-->
|
||||||
|
<!-- wp:spacer {"height":40} -->
|
||||||
|
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||||
|
<!-- /wp:spacer -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
<!-- /wp:post-template -->
|
||||||
|
<!-- wp:group {"layout":{"inherit":true}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:query-pagination -->
|
||||||
|
<!-- wp:query-pagination-previous /-->
|
||||||
|
|
||||||
|
<!-- wp:query-pagination-numbers /-->
|
||||||
|
|
||||||
|
<!-- wp:query-pagination-next /-->
|
||||||
|
<!-- /wp:query-pagination -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</main>
|
||||||
|
<!-- /wp:query -->
|
||||||
|
|
||||||
|
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->
|
45
ames/readme.txt
Normal file
45
ames/readme.txt
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
=== Ames ===
|
||||||
|
Contributors: Automattic
|
||||||
|
Requires at least: 5.8
|
||||||
|
Tested up to: 5.8
|
||||||
|
Requires PHP: 5.7
|
||||||
|
License: GPLv2 or later
|
||||||
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
== Description ==
|
||||||
|
|
||||||
|
Ames is a minimalist theme, designed for single-page websites. Its single post and page layouts have no header, navigation menus, or widgets by default, so the page you design in the WordPress editor is the same page you’ll see on the front end.
|
||||||
|
|
||||||
|
== Changelog ==
|
||||||
|
|
||||||
|
= 1.0.0 =
|
||||||
|
* Initial release
|
||||||
|
|
||||||
|
== Copyright ==
|
||||||
|
|
||||||
|
Ames WordPress Theme, (C) 2021 Automattic
|
||||||
|
Ames is distributed under the terms of the GNU GPL.
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
Ames uses the following third-party resources:
|
||||||
|
|
||||||
|
People Girl Photo, Allef Vinicius on Stocksnap
|
||||||
|
https://stocksnap.io/photo/people-girl-RG6USYJI2A
|
||||||
|
Included in theme screenshot and demo site.
|
||||||
|
|
||||||
|
People Man Photo, Nik MacMillan on Stocksnap
|
||||||
|
https://stocksnap.io/photo/people-man-KJXYWO8CMM
|
||||||
|
Included in theme screenshot and demo site.
|
||||||
|
|
||||||
|
People Guy Photo, Allef Vinicius on Stocksnap
|
||||||
|
https://stocksnap.io/photo/people-guy-QJO8NSHMNX
|
||||||
|
Included in theme screenshot and demo site.
|
BIN
ames/screenshot.jpg
Normal file
BIN
ames/screenshot.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 137 KiB |
43
ames/style.css
Normal file
43
ames/style.css
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
/*
|
||||||
|
Theme Name: Ames
|
||||||
|
Theme URI: https://wordpress.com/theme/ames
|
||||||
|
Author: Automattic
|
||||||
|
Author URI: https://automattic.com/
|
||||||
|
Description: Ames is a minimalist theme, designed for single-page websites.
|
||||||
|
Requires at least: 5.8
|
||||||
|
Tested up to: 5.8
|
||||||
|
Requires PHP: 5.7
|
||||||
|
Version: 1.0.0
|
||||||
|
License: GNU General Public License v2 or later
|
||||||
|
License URI: https://raw.githubusercontent.com/Automattic/themes/trunk/LICENSE
|
||||||
|
Template: blockbase
|
||||||
|
Text Domain: ames
|
||||||
|
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks, auto-loading-homepage
|
||||||
|
|
||||||
|
Ames WordPress Theme, (C) 2021 Automattic, Inc.
|
||||||
|
Ames is distributed under the terms of the GNU GPL.
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
Ames uses the following third-party resources:
|
||||||
|
|
||||||
|
People Girl Photo, Allef Vinicius on Stocksnap
|
||||||
|
https://stocksnap.io/photo/people-girl-RG6USYJI2A
|
||||||
|
Included in theme screenshot and demo site.
|
||||||
|
|
||||||
|
People Man Photo, Nik MacMillan on Stocksnap
|
||||||
|
https://stocksnap.io/photo/people-man-KJXYWO8CMM
|
||||||
|
Included in theme screenshot and demo site.
|
||||||
|
|
||||||
|
People Guy Photo, Allef Vinicius on Stocksnap
|
||||||
|
https://stocksnap.io/photo/people-guy-QJO8NSHMNX
|
||||||
|
Included in theme screenshot and demo site.
|
||||||
|
*/
|
30
ames/theme.json
Normal file
30
ames/theme.json
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"settings": {
|
||||||
|
"color": {
|
||||||
|
"palette": [
|
||||||
|
{
|
||||||
|
"slug": "foreground",
|
||||||
|
"color": "#000000",
|
||||||
|
"name": "Foreground",
|
||||||
|
"default": "#333333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"slug": "background",
|
||||||
|
"color": "#f9d3b3",
|
||||||
|
"name": "Background",
|
||||||
|
"default": "#ffffff"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"color": {
|
||||||
|
"foreground": "var(--wp--preset--color--foreground)",
|
||||||
|
"background": "var(--wp--preset--color--background)",
|
||||||
|
"primary": "var(--wp--preset--color--foreground)",
|
||||||
|
"secondary": "var(--wp--preset--color--foreground)",
|
||||||
|
"tertiary": "var(--wp--preset--color--background)"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue