Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/winter. a thoughtful static website generator for long-lasting content twos.dev/winter
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://twos.dev/winter/document/config", "$ref": "#/$defs/Config", "$defs": { "Author": { "properties": { "Name": { "type": "string" }, "Email": { "type": "string" } }, "additionalProperties": false, "type": "object", "required": [ "Name", "Email" ] }, "Config": { "properties": { "author": { "$ref": "#/$defs/Author", "description": "Author is the information for the website author. This is used in metadata such as that of the RSS feed." }, "debug": { "type": "boolean", "description": "Debug is a flag that enables debug mode." }, "development": { "properties": { "url": { "type": "string" } }, "additionalProperties": false, "type": "object", "description": "Development contains options specific to development. They have no impact when building for production." }, "description": { "type": "string", "description": "Description is the Description of the website. This is used as metadata for the RSS feed." }, "dist": { "type": "string", "description": "Dist is the location the site will be built into, relative to the working directory. After a build, this directory is suitable for deployment to the web as a set of static files.\n\nIn other words, the path of any file in dist, relative to dist, is equivalent to the path component of the URL for that file.\n\nIf blank, defaults to ./dist." }, "known": { "properties": { "urls": { "type": "string" } }, "additionalProperties": false, "type": "object", "description": "Known helps the generated site follow the \"Cool URIs don't change\" rule by remembering certain facts about what the site looks like, and checking newly-generated sites against those facts." }, "name": { "type": "string", "description": "Name is the name of the website. This is used in various places in and out of templates." }, "gear": { "items": { "$ref": "#/$defs/Gear" }, "type": "array", "description": "Gear is an array of Gear objects, each describing a camera, lens, or other piece of gear whose information can be extracted from EXIF data.\n\nGear is used by Winter when processing photos to display photograph information, and provide links to purchase gear used in its creation." }, "production": { "properties": { "url": { "type": "string" } }, "additionalProperties": false, "type": "object" }, "purchase_urls": { "additionalProperties": { "type": "string" }, "type": "object", "description": "PurchaseURLs maps image source paths relative to src/ to external pages where those images can be purchased. A configured URL overrides the image's embedded XMP Licensor URL.\n\nA matching URL is exposed to templates as the image's PurchaseURL field." }, "since": { "type": "integer", "description": "Since is the year the website was established, whether through Winter or otherwise. This is used as metadata for the RSS feed, and as a copyright notice when needed." }, "srca": { "items": { "type": "string" }, "type": "array", "description": "Src is an additional list of directories to search for source files beyond ./src." } }, "additionalProperties": false, "type": "object", "description": "Config is a configuration for the Winter build." }, "Gear": { "properties": { "make": { "type": "string", "description": "Make is the value a photograph's EXIF data must have in the \"make\" field, whether camera or lens, for the photograph to be considered as having been taken with this piece of gear.\n\nBefore comparison, Winter will strip all trailing and leading spaces from both the EXIF data field and from this field. Then, a case-insensitive comparison is performed." }, "model": { "type": "string", "description": "Make is the value a photograph's EXIF data must have in the \"model\" field, whether camera or lens, for the photograph to be considered as having been taken with this piece of gear.\n\nBefore comparison, Winter will strip all trailing and leading spaces from both the EXIF data field and from this field. Then, a case-insensitive comparison is performed." }, "link": { "type": "string", "description": "Link is a URL (beginning in https://) at which a user can purchase or read more about this piece of gear." }, "exif": { "properties": { "make": { "type": "string" }, "model": { "type": "string" } }, "additionalProperties": false, "type": "object", "description": "EXIF specifies what EXIF data a photograph must have in order to be identified as having been taken with this piece of gear." } }, "additionalProperties": false, "type": "object" } }}