UNPKG

relift-html

Version:

A blazing fast view library that lets you put Javascript Template Literals in HTML

108 lines (91 loc) 3.25 kB
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------ # Mambo # The Elegant Static Site Generator # mardix.github.io/mambo # # Mambo # ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------ # Site: Global site context # Variables under [site] will be available in the page as ie: {{ site.name }} site: # base_url: **REQUIRED - Site base url, the canonical url to build base_url: / # static_url: **REQUIRE - Site static. If static files are placed somewhere else, you can put the path there static_url: /static/ app_name: reLift-HTML # Site name name: "reLift-HTML" # The site url url: # Google Analytics code google_analytics: # Site Favicon favicon: # Global meta tags. They can be overwritten by page meta tags meta: keywords: language: en-us rating: General robots: index, follow # Site environment: environment data will be merged with the global site settings # ie: 'env.prod.base_url' will use the prod base_url # At build: 'mambo build prod', or serve 'mambo serve --env prod' env: prod: base_url: 'https://relift-html.js.org/' static_url: 'https://relift-html.js.org/static/' # ------------------------------------------------------------------------------ # Configuration when serving locally serve: port: 8000 livereload: True openwindow: True env: generate_sitemap: True minify_html: False # ------------------------------------------------------------------------------ # Build configuration, could be the final product build: # env: The site_env to build. Leave blank to have the option in the command line env: prod generate_sitemap: True minify_html: False # ------------------------------------------------------------------------------ # Global settings globals: # layout: **REQUIRED - The default site layout layout: layouts/default.html # Timezone timezone: America/New_York # sitemap: default sitemap sitemap: priority: 0.7 changefreq: monthly # assets: global assets to be included in all pages # assets must reside in the static folder or from http url # * for stylesheets, just list the items # ie: stylesheets: # - x.css # - y.css # * for scripts, you can list the items. # They will have type="text/javascript" by default # or as object, where you specify the url and attributes # ie: scripts: # - main.js # - url: main2.js # attributes: type="module" assets: scripts: - vendor/highlight/highlight.pack.js - main.js stylesheets: - vendor/normalize.css - vendor/milligram.css - main.css - https://use.fontawesome.com/releases/v5.8.1/css/all.css - https//fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic - vendor/highlight/styles/nord.css