Skip to content

Commit 2dc74af

Browse files
committed
update
1 parent 4c9fdf6 commit 2dc74af

32 files changed

+290
-223
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This template is made to help you create modern, fast and completely secure prog
2424
- browserconfig.xml
2525
- .gitignore
2626
- README.md
27-
- Error 404 Page
27+
- Creative Error 404 Page
2828
- And More
2929

3030
## Homepage

amp/icons/310x150.png

9.75 KB
Loading

amp/icons/310x310.png

23.5 KB
Loading

amp/icons/600x600.png

67.2 KB
Loading

amp/icons/70x70.png

4.5 KB
Loading

amp/manifest.json

+26-1
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,45 @@
1414
"sizes": "64x64",
1515
"type": "image/png"
1616
},
17+
{
18+
"src": "./icons/64x64.png",
19+
"sizes": "70x70",
20+
"type": "image/png"
21+
},
1722
{
1823
"src": "./icons/128x128.png",
1924
"sizes": "128x128",
2025
"type": "image/png"
2126
},
27+
{
28+
"src": "./icons/128x128.png",
29+
"sizes": "150x150",
30+
"type": "image/png"
31+
},
2232
{
2333
"src": "./icons/256x256.png",
2434
"sizes": "256x256",
35+
"type": "image/png"
36+
},
37+
{
38+
"src": "./icons/256x256.png",
39+
"sizes": "310x150",
40+
"type": "image/png"
41+
},
42+
{
43+
"src": "./icons/256x256.png",
44+
"sizes": "310x310",
45+
"type": "image/png"
46+
},
47+
{
48+
"src": "./icons/512x512.png",
49+
"sizes": "512x512",
2550
"type": "image/png",
2651
"purpose": "any maskable"
2752
},
2853
{
2954
"src": "./icons/512x512.png",
30-
"sizes": "512x512",
55+
"sizes": "600x600",
3156
"type": "image/png"
3257
}
3358
],

netlify.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
</src/script.js>; rel=preload; as=script, \
1818
</src/js/modules/create-timer.js>; rel=preload; as=script, \
1919
</src/js/modules/loader.js>; rel=preload; as=script, \
20-
</src/js/assets/assets.js>; rel=preload; as=script'''
20+
</src/js/assets/index.js>; rel=preload; as=script'''

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "htmltemplate",
3-
"version": "2.0.7",
3+
"version": "2.0.8",
44
"main": "server.js",
55
"license": "MIT",
66
"private": true,

sitemap.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>https://moderntemplate.site</loc>
5-
<lastmod>2021-01-03</lastmod>
5+
<lastmod>2021-01-14</lastmod>
66
<changefreq>monthly</changefreq>
77
<priority>1.0</priority>
88
</url>

template/README.md

+10-35
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,26 @@
1-
# Modern HTML Starter Template
1+
# APP_TITLE
22

33
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
44

5-
![logo](https://moderntemplate.site/img/logo.png)
5+
![logo](APP_URL/img/logo.png)
66

7-
## Description
7+
## APP_DESCRIPTION
88

9-
This template is made to help you create modern, fast and completely secure progressive web applications
9+
Some key concepts about your app
1010

11-
## Includes
11+
## APP_INFO
1212

13-
- All Meta & Link Tags
14-
- HTML5 Tags & CSS3 Props
15-
- CSS & JavaScript Modules
16-
- Offline First Service Worker
17-
- manifest.json
18-
- AMP Project
19-
- All Security Headers
20-
- Express.js Server
21-
- netlify.toml
22-
- robots.txt
23-
- sitemap.xml
24-
- browserconfig.xml
25-
- .gitignore
26-
- README.md
27-
- Error 404 Page
28-
- And More
13+
Some additional information about your app
2914

3015
## Homepage
3116

32-
[https://moderntemplate.site/](https://moderntemplate.site/)
33-
34-
### Last Update: 2021-01-03
35-
36-
## VSCode HTML-Snippet
37-
38-
[https://raw.githubusercontent.com](https://raw.githubusercontent.com/harryheman/Modern-HTML-Starter-Template/main/tools/vscode-html-snippet.json)
39-
40-
## Node.js CLI
41-
42-
[https://www.npmjs.com](https://www.npmjs.com/package/create-modern-template)
17+
[APP_URL/](APP_URL/)
4318

4419
## Installation
4520

4621
```
47-
git clone https://github.com/harryheman/Modern-HTML-Starter-Template.git
48-
cd Modern-HTML-Starter-Template
22+
git clone https://github.com/APP_AUTHOR/APP_TITLE.git
23+
cd APP_TITLE
4924
npm i / yarn
5025
```
5126

@@ -65,7 +40,7 @@ npm start / yarn start
6540

6641
## Author
6742

68-
- [Igor Agapov](https://github.com/harryheman)
43+
- [APP_AUTHOR](https://github.com/APP_AUTHOR)
6944

7045
## License
7146

template/amp/index.html

+25-20
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,28 @@
1+
<!-- Don't forget to change APP_WHATEVER -->
12
<!doctype html>
23
<!-- https://amp.dev/boilerplate/ -->
34
<html lang="en-us">
45

56
<head>
67
<meta charset="utf-8">
78
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
8-
<meta name="description" content="Modern HTML Starter Template">
9+
<meta name="description" content="APP_DESCRIPTION">
910
<link rel="preload" as="script" href="https://cdn.ampproject.org/v0.js">
1011
<link rel="preconnect dns-prefetch" href="https://fonts.gstatic.com/" crossorigin>
1112
<script async src="https://cdn.ampproject.org/v0.js"></script>
1213
<script async custom-element="amp-install-serviceworker" src="https://cdn.ampproject.org/v0/amp-install-serviceworker-0.1.js"></script>
1314
<script async custom-element="amp-analytics" src="https://cdn.ampproject.org/v0/amp-analytics-0.1.js"></script>
14-
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
15+
<!-- Google Fonts -->
16+
<link rel="preconnect" href="https://fonts.gstatic.com" />
17+
<link
18+
rel="preload"
19+
href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap"
20+
as="style"
21+
/>
22+
<link
23+
href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap"
24+
rel="stylesheet"
25+
/>
1526
<style amp-custom>
1627
body {
1728
font-family: 'Montserrat', sans-serif;
@@ -148,28 +159,28 @@
148159
</style>
149160
</noscript>
150161

151-
<link rel="canonical" href="https://moderntemplate.site/index.html">
152-
<title>HTML Template</title>
162+
<link rel="canonical" href="APP_URL/index.html">
163+
<title>APP_TITLE</title>
153164
<link rel="manifest" href="./manifest.json">
154165
<script type="application/ld+json">
155166
{
156167
"@context": "http://schema.org",
157168
"@type": "Webpage",
158-
"url": "https://moderntemplate.site",
159-
"name": "HTML Template",
160-
"headline": "HTML Template",
161-
"description": "Modern HTML Starter Template",
169+
"url": "APP_URL",
170+
"name": "APP_TITLE",
171+
"headline": "APP_TITLE",
172+
"description": "APP_DESCRIPTION",
162173
"mainEntityOfPage": {
163174
"@type": "WebPage",
164-
"@id": "https://moderntemplate.site"
175+
"@id": "APP_URL"
165176
},
166177
"publisher": {
167178
"@type": "Person",
168-
"name": "Igor Agapov",
179+
"name": "APP_AUTHOR",
169180
},
170181
"image": {
171182
"@type": "ImageObject",
172-
"url": "https://moderntemplate.site/img/logo.png",
183+
"url": "APP_URL/img/logo.png",
173184
"width": 1200,
174185
"height": 680
175186
},
@@ -181,10 +192,10 @@
181192
<body>
182193
<amp-layout layout="container">
183194
<header>
184-
<h1>Modern HTML <br> Starter Template</h1>
195+
<h1>APP_TITLE</h1>
185196
<nav>
186-
<a href="https://moderntemplate.site" target="_blank" rel="noopener">WebSite</a>
187-
<a href="https://github.com/harryheman/Modern-HTML-Starter-Template" target="_blank" rel="noopener">
197+
<a href="APP_URL" target="_blank" rel="noopener">WebSite</a>
198+
<a href="https://github.com/APP_AUTHOR/APP_TITLE" target="_blank" rel="noopener">
188199
GitHub
189200
</a>
190201
</nav>
@@ -195,12 +206,6 @@ <h1>Modern HTML <br> Starter Template</h1>
195206
</main>
196207

197208
<footer>
198-
<p>
199-
&copy; 2020.
200-
<a href="https://github.com/harryheman" target="_blank" rel="noopener">
201-
Igor Agapov
202-
</a>
203-
</p>
204209
<p>Licensed under MIT</p>
205210
</footer>
206211
</amp-layout>

template/amp/manifest.json

+29-4
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,58 @@
11
{
2-
"name": "HTML Template",
3-
"short_name": "MHST",
2+
"name": "APP_FULL_TITLE",
3+
"short_name": "APP_SHORT_TITLE",
44
"scope": "/",
55
"start_url": ".",
66
"display": "standalone",
77
"orientation": "portrait",
88
"background_color": "#eee",
99
"theme_color": "#222",
10-
"description": "Modern HTML Starter Template",
10+
"description": "APP_DESCRIPTION",
1111
"icons": [
1212
{
1313
"src": "./icons/64x64.png",
1414
"sizes": "64x64",
1515
"type": "image/png"
1616
},
17+
{
18+
"src": "./icons/64x64.png",
19+
"sizes": "70x70",
20+
"type": "image/png"
21+
},
1722
{
1823
"src": "./icons/128x128.png",
1924
"sizes": "128x128",
2025
"type": "image/png"
2126
},
27+
{
28+
"src": "./icons/128x128.png",
29+
"sizes": "150x150",
30+
"type": "image/png"
31+
},
2232
{
2333
"src": "./icons/256x256.png",
2434
"sizes": "256x256",
35+
"type": "image/png"
36+
},
37+
{
38+
"src": "./icons/256x256.png",
39+
"sizes": "310x150",
40+
"type": "image/png"
41+
},
42+
{
43+
"src": "./icons/256x256.png",
44+
"sizes": "310x310",
45+
"type": "image/png"
46+
},
47+
{
48+
"src": "./icons/512x512.png",
49+
"sizes": "512x512",
2550
"type": "image/png",
2651
"purpose": "any maskable"
2752
},
2853
{
2954
"src": "./icons/512x512.png",
30-
"sizes": "512x512",
55+
"sizes": "600x600",
3156
"type": "image/png"
3257
}
3358
],

0 commit comments

Comments
 (0)