-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
130 lines (107 loc) · 4.97 KB
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# example netlify.toml
[build]
command = "astro build"
functions = "netlify/functions"
publish = "dist"
# publish = "public"
# https://github.com/sw-yx/netlify-plugin-no-more-404#readme
# [[plugins]]
# package = "netlify-plugin-no-more-404"
# # all inputs are optional, we just show you the defaults below
# [plugins.inputs]
# # either "warn" or "error"
# on404 = "warn"
# # change this key to a new one any time you need to restart from scratch
# cacheKey = "PerkedelCacheKey"
# # (for development) turn true for extra diagnostic logging
# debugMode = false
# bug! bigger cache overflow memory
# Error: abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime, or (3) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ") at Error
# Oh man!!!
# https://github.com/oliverroick/netlify-plugin-html-validate#readme
# [[plugins]]
# package = "netlify-plugin-html-validate"
# [plugins.inputs]
# ext = "html"
# config = ".htmlvalidate.json"
# https://github.com/Tom-Bonnike/netlify-plugin-inline-critical-css#readme
# [[plugins]]
# package = "netlify-plugin-inline-critical-css"
# # All inputs are optional, so you can omit this section.
# # Defaults are shown below.
# [plugins.inputs]
# # A filter used to target specific files in the publish directory. Be sure to only target HTML files. This option is passed onto the readdirp library, see https://github.com/paulmillr/readdirp#options for more info.
# fileFilter = ["*.html"]
# # A filter used to target or ignore specific directories in the publish directory. This option is passed onto the readdirp library, see https://github.com/paulmillr/readdirp#options for more info.
# directoryFilter = ["!node_modules"]
# # You can refer to `critical`’s documentation: https://github.com/addyosmani/critical for all options below.
# # Whether to remove the inlined styles from any stylesheet referenced in the HTML. Use with caution. Removing the critical CSS per page results in a unique async loaded CSS file for every page, meaning you can’t rely on cache across multiple pages.
# extract = false
# # An array of objects containing `width` and `height` properties to deliver critical CSS for multiple screen resolutions.
# dimensions = [
# { width = 414, height = 896 },
# { width = 800, height = 600 },
# { width = 600, height = 800 },
# { width = 1920, height = 1080 },
# { width = 1080, height = 1920 },
# { width = 4096, height = 2160 },
# { width = 2160, height = 4096 },
# ]
# https://github.com/erezrokah/netlify-plugin-is-website-vulnerable#readme
# [[plugins]]
# package = "netlify-plugin-is-website-vulnerable"
# https://github.com/pagewatchdev/netlify-plugin-pagewatch#readme PAGEWATCH IS FULL OF PAYWALLS
# [[plugins]]
# package = "netlify-plugin-pagewatch"
# https://github.com/netlify-labs/netlify-plugin-sitemap
[[plugins]]
package = "@netlify/plugin-sitemap"
[plugins.inputs]
buildDir = "public"
# https://github.com/cdeleeuwe/netlify-plugin-submit-sitemap#readme (public build pls)
[[plugins]]
package = "netlify-plugin-submit-sitemap"
[plugins.inputs]
# The base url of your site (optional, default = main URL set in Netlify)
baseUrl = "https://perkedel.netlify.app"
# Path to the sitemap URL (optional, default = /sitemap.xml)
sitemapPath = "/sitemap-0.xml"
# Time in seconds to not submit the sitemap after successful submission
ignorePeriod = 0
# Enabled providers to submit sitemap to (optional, default = 'google', 'yandex'). Possible providers are currently only 'google', 'yandex'.
providers = [
"google",
"yandex"
]
# https://github.com/swyxio/netlify-plugin-rss
#[[plugins]]
#package = "netlify-plugin-rss"
# [plugins.inputs]
# # required configs, customize as needed
# dirToScan = "/" # a subfolder to scan. "/" to scan all
# authorName = "JOELwindows7"
# site_url = "https://perkedel.netlify.app"
# title = "Perkedel RSS Feed"
# rssDescription = "Perkedel NTLF+ASTR RSS Feed"
# categories = ['Technology', 'Game', 'App']
#
# # # optional configs, defaults shown
# # rssFaviconUrl = "https://perkedel.netlify.app/favicon.png"
# # docs = "http://example.com/rss/docs.html"
# # managingEditor = "authorName"
# # webMaster = "authorName"
# #copyright = "${authorName}"
# copyright = "Perkedel Technologies"
# # language = "en"
# # pubDate = "new Date().toUTCString(),"
# # ttl = "60" # aka refresh every hour
#
# # # cheerio selectors for extractMetadataFromFile
# # # defaults shown
# # contentSelector = "main"
# # publishDateSelector = # if not specified, we use the date of file creation
# # descriptionSelector = "meta[name=description]" # probably no need to change
# # titleSelector = "title" # probably no need to change
#
# # # developer configs
# # debugMode = false # (for development) turn true for extra diagnostic logging