├── src
├── conf
│ ├── .gitkeep
│ ├── git
│ │ └── hooks
│ │ │ └── post-merge
│ └── nginx
│ │ └── site.com
├── templates
├── js
│ ├── @types
│ │ └── shims.d.ts
│ ├── utils
│ │ ├── lazysizes-wrapper.ts
│ │ └── lazy-load-component.js
│ └── app.ts
├── public
│ └── logo.png
├── css
│ ├── vendor.css
│ ├── components
│ │ ├── webfonts.css
│ │ ├── typography.css
│ │ └── global.css
│ ├── pages
│ │ └── homepage.css
│ └── app.css
├── img
│ └── favicon-src.png
└── vue
│ ├── App.vue
│ ├── @types
│ ├── shims-vue.d.ts
│ └── confetti.d.ts
│ └── ConfettiParty.vue
├── cms
├── templates
│ ├── .gitkeep
│ ├── _partials
│ │ ├── amp-inline-css.css
│ │ ├── navbar.twig
│ │ ├── info-footer.twig
│ │ ├── amp-info-footer.twig
│ │ ├── info-header.twig
│ │ ├── amp-info-header.twig
│ │ ├── global-footer.twig
│ │ └── amp-navbar.twig
│ ├── errors
│ │ ├── 404.twig
│ │ ├── 503.twig
│ │ ├── error.twig
│ │ └── offline.twig
│ ├── _boilerplate
│ │ ├── _partials
│ │ │ ├── body-js.twig
│ │ │ ├── amp-head-js.twig
│ │ │ ├── head-js.twig
│ │ │ ├── amp-analytics.twig
│ │ │ ├── amp-boilerplate-css.twig
│ │ │ ├── head-meta.twig
│ │ │ ├── register-service-worker.twig
│ │ │ ├── critical-css.twig
│ │ │ └── tab-handler.twig
│ │ └── _layouts
│ │ │ ├── base-ajax-layout.twig
│ │ │ ├── base-web-layout.twig
│ │ │ ├── base-html-layout.twig
│ │ │ └── amp-base-html-layout.twig
│ ├── index.twig
│ ├── _inline-css
│ │ └── site-fonts.css
│ ├── amp-index.twig
│ ├── _inline-js
│ │ ├── lazyload-image-shim.js
│ │ └── tiny-cookie.min.js
│ ├── _layouts
│ │ ├── global-variables.twig
│ │ ├── error-page-layout.twig
│ │ ├── generic-page-layout.twig
│ │ └── amp-generic-page-layout.twig
│ └── _macros
│ │ └── cookies.twig
├── web
│ ├── assets
│ │ └── .gitignore
│ ├── cpresources
│ │ └── .gitignore
│ ├── index.php
│ ├── .htaccess
│ ├── offline.svg
│ ├── web.config
│ └── img
│ │ └── site
│ │ └── login-background-image.svg
├── config
│ ├── project
│ │ ├── fieldGroups
│ │ │ ├── 94b4d5ac-d7ea-4241-a6cb-92b39f482f99.yaml
│ │ │ └── d08a0d16-0e00-49e6-9cd4-465fa2d65d7d.yaml
│ │ ├── siteGroups
│ │ │ └── f89601e9-4ba9-4a48-9e99-350aa9914912.yaml
│ │ ├── entryTypes
│ │ │ ├── errors--faceb3ed-6771-453c-9c2a-aa330847f6db.yaml
│ │ │ └── homepage--fb3a8f31-d1cc-4c13-903b-a501f7e51f54.yaml
│ │ ├── volumes
│ │ │ └── site--5c642d7e-b16b-4836-9575-668d75d242e5.yaml
│ │ ├── sites
│ │ │ └── default--5da841b1-ca0d-46ff-8bb1-04d6c889ac54.yaml
│ │ ├── sections
│ │ │ ├── errors--a72bfe0c-3389-4f9f-8ec1-ab318ec10b29.yaml
│ │ │ └── homepage--54e60257-f31a-44aa-960e-bbd364197e28.yaml
│ │ ├── fields
│ │ │ ├── errorText--e6d658aa-c335-4f15-bbcd-59fe05d9e913.yaml
│ │ │ ├── errorHeadline--b8ba7115-3804-4c06-8a96-501963d1fc5c.yaml
│ │ │ └── errorImage--a5cb77be-c4d9-4d3e-88fb-d5384ca13941.yaml
│ │ └── project.yaml
│ ├── redactor
│ │ ├── Simple.json
│ │ └── Default.json
│ ├── htmlpurifier
│ │ └── Default.json
│ ├── app.console.php
│ ├── db.php
│ ├── routes.php
│ ├── fastcgi-cache-bust.php
│ ├── app.web.php
│ ├── general.php
│ ├── app.php
│ ├── seomatic-config
│ │ └── globalmeta
│ │ │ └── Creator.php
│ └── vite.php
├── modules
│ └── sitemodule
│ │ ├── src
│ │ ├── assetbundles
│ │ │ └── sitemodule
│ │ │ │ ├── dist
│ │ │ │ ├── js
│ │ │ │ │ └── SiteModule.js
│ │ │ │ ├── css
│ │ │ │ │ └── SiteModule.css
│ │ │ │ └── img
│ │ │ │ │ └── SiteModule-icon.svg
│ │ │ │ └── SiteModuleAsset.php
│ │ ├── translations
│ │ │ └── en
│ │ │ │ └── site-module.php
│ │ ├── services
│ │ │ └── Helper.php
│ │ ├── variables
│ │ │ └── SiteVariable.php
│ │ ├── config.php
│ │ ├── helpers
│ │ │ └── Config.php
│ │ └── SiteModule.php
│ │ ├── CHANGELOG.md
│ │ ├── .craftplugin
│ │ ├── .gitignore
│ │ ├── LICENSE.md
│ │ └── README.md
├── craft
├── craft.bat
├── bootstrap.php
├── example.env
└── composer.json
├── db-seed
├── .gitignore
└── project--2021-05-16-014155--v3.6.14.sql.gz
├── docker-config
├── mariadb
│ └── Dockerfile
├── redis
│ └── Dockerfile
├── nginx
│ ├── Dockerfile
│ └── default.conf
├── node-dev-vite
│ ├── npm_install.sh
│ └── Dockerfile
├── php-prod-craft
│ ├── composer_install.sh
│ ├── run_queue.sh
│ └── Dockerfile
└── php-dev-craft
│ └── Dockerfile
├── scripts
├── common
│ ├── common_env.sh
│ ├── common_db.sh
│ ├── common_pgsql.sh
│ ├── defaults.sh
│ └── common_mysql.sh
├── example.env.sh
├── docker_restore_db.sh
└── docker_pull_db.sh
├── LICENSE.md
├── composer.json
├── .gitignore
├── Makefile
├── docker-compose.yml
├── buddy.yml
├── README.md
└── CHANGELOG.md
/src/conf/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cms/templates/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/templates:
--------------------------------------------------------------------------------
1 | ../cms/templates
--------------------------------------------------------------------------------
/db-seed/.gitignore:
--------------------------------------------------------------------------------
1 | !.gitignore
2 |
--------------------------------------------------------------------------------
/cms/web/assets/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/cms/web/cpresources/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/src/js/@types/shims.d.ts:
--------------------------------------------------------------------------------
1 | declare module "app";
2 |
--------------------------------------------------------------------------------
/docker-config/mariadb/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM mariadb:10.5
2 |
--------------------------------------------------------------------------------
/docker-config/redis/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM redis:5-alpine
2 |
--------------------------------------------------------------------------------
/cms/templates/_partials/amp-inline-css.css:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 |
--------------------------------------------------------------------------------
/cms/templates/_partials/navbar.twig:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/cms/config/project/fieldGroups/94b4d5ac-d7ea-4241-a6cb-92b39f482f99.yaml:
--------------------------------------------------------------------------------
1 | name: Common
2 |
--------------------------------------------------------------------------------
/cms/config/project/fieldGroups/d08a0d16-0e00-49e6-9cd4-465fa2d65d7d.yaml:
--------------------------------------------------------------------------------
1 | name: Errors
2 |
--------------------------------------------------------------------------------
/cms/config/project/siteGroups/f89601e9-4ba9-4a48-9e99-350aa9914912.yaml:
--------------------------------------------------------------------------------
1 | name: $SITE_NAME
2 |
--------------------------------------------------------------------------------
/cms/templates/_partials/info-footer.twig:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/cms/templates/_partials/amp-info-footer.twig:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/public/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nystudio107/craft/craft-vite/src/public/logo.png
--------------------------------------------------------------------------------
/cms/config/redactor/Simple.json:
--------------------------------------------------------------------------------
1 | {
2 | "buttons": ["bold", "italic"],
3 | "toolbarFixed": true
4 | }
5 |
--------------------------------------------------------------------------------
/cms/templates/_partials/info-header.twig:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/css/vendor.css:
--------------------------------------------------------------------------------
1 | /**
2 | * vendor.css
3 | *
4 | * All vendor CSS is imported here.
5 | *
6 | */
7 |
--------------------------------------------------------------------------------
/src/img/favicon-src.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nystudio107/craft/craft-vite/src/img/favicon-src.png
--------------------------------------------------------------------------------
/cms/templates/_partials/amp-info-header.twig:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/docker-config/nginx/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM nginx:1.19-alpine
2 |
3 | COPY ./default.conf /etc/nginx/conf.d/default.conf
4 |
--------------------------------------------------------------------------------
/src/css/components/webfonts.css:
--------------------------------------------------------------------------------
1 | /**
2 | * components/webfonts.css
3 | *
4 | * Project webfonts.
5 | *
6 | */
7 |
--------------------------------------------------------------------------------
/src/css/components/typography.css:
--------------------------------------------------------------------------------
1 | /**
2 | * components/typography.css
3 | *
4 | * Typography rules.
5 | *
6 | */
7 |
--------------------------------------------------------------------------------
/src/css/pages/homepage.css:
--------------------------------------------------------------------------------
1 | /**
2 | * pages/homepage.css
3 | *
4 | * Styles for the Homepage page.
5 | *
6 | */
7 |
--------------------------------------------------------------------------------
/cms/templates/errors/404.twig:
--------------------------------------------------------------------------------
1 | {% set entry = craft.entries.section('errors').slug('error404').one() %}
2 |
3 | {% extends "_layouts/error-page-layout.twig" %}
4 |
--------------------------------------------------------------------------------
/cms/templates/errors/503.twig:
--------------------------------------------------------------------------------
1 | {% set entry = craft.entries.section('errors').slug('error503').one() %}
2 |
3 | {% extends "_layouts/error-page-layout.twig" %}
4 |
--------------------------------------------------------------------------------
/db-seed/project--2021-05-16-014155--v3.6.14.sql.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nystudio107/craft/craft-vite/db-seed/project--2021-05-16-014155--v3.6.14.sql.gz
--------------------------------------------------------------------------------
/cms/templates/errors/error.twig:
--------------------------------------------------------------------------------
1 | {% set entry = craft.entries.section('errors').slug('errorError').one() %}
2 |
3 | {% extends "_layouts/error-page-layout.twig" %}
4 |
--------------------------------------------------------------------------------
/cms/templates/errors/offline.twig:
--------------------------------------------------------------------------------
1 | {% set entry = craft.entries.section('errors').slug('errorOffline').one() %}
2 |
3 | {% extends "_layouts/error-page-layout.twig" %}
4 |
--------------------------------------------------------------------------------
/src/vue/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
8 |
--------------------------------------------------------------------------------
/src/css/components/global.css:
--------------------------------------------------------------------------------
1 | /**
2 | * components/global.css
3 | *
4 | * Project-wide styles
5 | *
6 | */
7 |
8 | body {
9 | background-color: yellow;
10 | }
11 |
--------------------------------------------------------------------------------
/src/vue/@types/shims-vue.d.ts:
--------------------------------------------------------------------------------
1 | declare module "*.vue" {
2 | import { defineComponent } from "vue";
3 | const Component : ReturnType;
4 | export default Component;
5 | }
6 |
--------------------------------------------------------------------------------
/cms/templates/_boilerplate/_partials/body-js.twig:
--------------------------------------------------------------------------------
1 | {# -- Shim to handle lazy image loading if native isn't available -- #}
2 |
5 |
--------------------------------------------------------------------------------
/cms/templates/_boilerplate/_partials/amp-head-js.twig:
--------------------------------------------------------------------------------
1 |
3 |
4 |
--------------------------------------------------------------------------------
/cms/config/project/entryTypes/errors--faceb3ed-6771-453c-9c2a-aa330847f6db.yaml:
--------------------------------------------------------------------------------
1 | handle: errors
2 | hasTitleField: true
3 | name: Errors
4 | section: a72bfe0c-3389-4f9f-8ec1-ab318ec10b29
5 | sortOrder: 1
6 | titleFormat: null
7 | titleLabel: Title
8 |
--------------------------------------------------------------------------------
/cms/config/project/volumes/site--5c642d7e-b16b-4836-9575-668d75d242e5.yaml:
--------------------------------------------------------------------------------
1 | handle: site
2 | hasUrls: true
3 | name: Site
4 | settings:
5 | path: '@webroot/assets/site'
6 | sortOrder: 1
7 | type: craft\volumes\Local
8 | url: '@assetsUrl/assets/site'
9 |
--------------------------------------------------------------------------------
/cms/config/project/sites/default--5da841b1-ca0d-46ff-8bb1-04d6c889ac54.yaml:
--------------------------------------------------------------------------------
1 | baseUrl: $SITE_URL
2 | handle: default
3 | hasUrls: true
4 | language: en-US
5 | name: $SITE_NAME
6 | primary: true
7 | siteGroup: f89601e9-4ba9-4a48-9e99-350aa9914912
8 | sortOrder: 1
9 |
--------------------------------------------------------------------------------
/cms/config/project/entryTypes/homepage--fb3a8f31-d1cc-4c13-903b-a501f7e51f54.yaml:
--------------------------------------------------------------------------------
1 | handle: homepage
2 | hasTitleField: false
3 | name: Homepage
4 | section: 54e60257-f31a-44aa-960e-bbd364197e28
5 | sortOrder: 1
6 | titleFormat: '{section.name|raw}'
7 | titleLabel: null
8 |
--------------------------------------------------------------------------------
/cms/templates/_partials/global-footer.twig:
--------------------------------------------------------------------------------
1 | {#-- Global footer --#}
2 |
3 | {#-- Browser fixes --#}
4 |
8 |
--------------------------------------------------------------------------------
/cms/templates/_partials/amp-navbar.twig:
--------------------------------------------------------------------------------
1 |
11 |
--------------------------------------------------------------------------------
/cms/modules/sitemodule/src/assetbundles/sitemodule/dist/js/SiteModule.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Site module for Craft CMS
3 | *
4 | * Site JS
5 | *
6 | * @author nystudio107
7 | * @copyright Copyright (c) 2018 nystudio107
8 | * @link https://nystudio107.com/
9 | * @package SiteModule
10 | * @since 1.0.0
11 | */
12 |
--------------------------------------------------------------------------------
/cms/web/index.php:
--------------------------------------------------------------------------------
1 | run();
13 |
--------------------------------------------------------------------------------
/cms/config/htmlpurifier/Default.json:
--------------------------------------------------------------------------------
1 | {
2 | "Attr.AllowedFrameTargets": [
3 | "_blank"
4 | ],
5 | "Attr.EnableID": true,
6 | "HTML.AllowedComments": [
7 | "pagebreak"
8 | ],
9 | "HTML.SafeIframe": true,
10 | "URI.SafeIframeRegexp": "%^(https?:)?//(www.youtube.com/embed/|player.vimeo.com/video/)%"
11 | }
12 |
--------------------------------------------------------------------------------
/cms/config/project/sections/errors--a72bfe0c-3389-4f9f-8ec1-ab318ec10b29.yaml:
--------------------------------------------------------------------------------
1 | enableVersioning: false
2 | handle: errors
3 | name: Errors
4 | propagationMethod: all
5 | siteSettings:
6 | 5da841b1-ca0d-46ff-8bb1-04d6c889ac54:
7 | enabledByDefault: true
8 | hasUrls: false
9 | template: null
10 | uriFormat: null
11 | type: channel
12 |
--------------------------------------------------------------------------------
/cms/modules/sitemodule/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Site Changelog
2 |
3 | All notable changes to this project will be documented in this file.
4 |
5 | The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
6 |
7 | ## 1.0.0 - 2018-01-19
8 | ### Added
9 | - Initial release
10 |
--------------------------------------------------------------------------------
/cms/web/.htaccess:
--------------------------------------------------------------------------------
1 |
2 | RewriteEngine On
3 |
4 | # Send would-be 404 requests to Craft
5 | RewriteCond %{REQUEST_FILENAME} !-f
6 | RewriteCond %{REQUEST_FILENAME} !-d
7 | RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
8 | RewriteRule (.+) index.php?p=$1 [QSA,L]
9 |
10 |
--------------------------------------------------------------------------------
/cms/config/project/sections/homepage--54e60257-f31a-44aa-960e-bbd364197e28.yaml:
--------------------------------------------------------------------------------
1 | enableVersioning: false
2 | handle: homepage
3 | name: Homepage
4 | propagationMethod: all
5 | siteSettings:
6 | 5da841b1-ca0d-46ff-8bb1-04d6c889ac54:
7 | enabledByDefault: true
8 | hasUrls: true
9 | template: index
10 | uriFormat: __home__
11 | type: single
12 |
--------------------------------------------------------------------------------
/cms/config/redactor/Default.json:
--------------------------------------------------------------------------------
1 | {
2 | "buttons": [
3 | "html",
4 | "formatting",
5 | "bold",
6 | "italic",
7 | "unorderedlist",
8 | "orderedlist",
9 | "link",
10 | "image",
11 | "video"
12 | ],
13 | "plugins": [
14 | "fullscreen",
15 | "video"
16 | ],
17 | "linkNewTab": true,
18 | "toolbarFixed": true
19 | }
20 |
--------------------------------------------------------------------------------
/cms/modules/sitemodule/.craftplugin:
--------------------------------------------------------------------------------
1 | {"pluginName":"Site","pluginDescription":"An example module for Craft CMS 3 that lets you enhance your websites with a custom site module","pluginVersion":"1.0.0","pluginAuthorName":"nystudio107","pluginVendorName":"nystudio107","pluginAuthorUrl":"https://nystudio107.com/","codeComments":[],"pluginComponents":[],"apiVersion":"module_api_version_3_0"}
--------------------------------------------------------------------------------
/cms/craft:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env php
2 | run();
14 | exit($exitCode);
15 |
--------------------------------------------------------------------------------
/src/js/utils/lazysizes-wrapper.ts:
--------------------------------------------------------------------------------
1 | // Load the lazysizes JS for legacy browsers
2 | // this small shim is used to allow tranpilation of the loading code
3 | const main = async () => {
4 | const LazySizes = await import(/* webpackChunkName: "lazysizes" */ 'lazysizes');
5 | LazySizes.init();
6 | };
7 | // Execute async function
8 | main().then(() => {
9 | console.log();
10 | });
11 |
--------------------------------------------------------------------------------
/cms/web/offline.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/cms/craft.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 |
3 | rem -------------------------------------------------------------
4 | rem Craft command line bootstrap script for Windows
5 | rem -------------------------------------------------------------
6 |
7 | @setlocal
8 |
9 | set CRAFT_PATH=%~dp0
10 |
11 | if "%PHP_COMMAND%" == "" set PHP_COMMAND=php.exe
12 |
13 | "%PHP_COMMAND%" "%CRAFT_PATH%craft" %*
14 |
15 | @endlocal
16 |
--------------------------------------------------------------------------------
/cms/modules/sitemodule/src/translations/en/site-module.php:
--------------------------------------------------------------------------------
1 | 'Site plugin loaded',
18 | ];
19 |
--------------------------------------------------------------------------------
/scripts/common/common_env.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # Common Env
4 | #
5 | # Shared script to set various environment-related variables
6 | #
7 | # @author nystudio107
8 | # @copyright Copyright (c) 2020 nystudio107
9 | # @link https://nystudio107.com/
10 | # @license MIT
11 |
12 | # Commands to output database dumps, using gunzip -c instead of zcat for MacOS X compatibility
13 | DB_ZCAT_CMD="gunzip -c"
14 | DB_CAT_CMD="cat"
15 |
--------------------------------------------------------------------------------
/cms/config/project/fields/errorText--e6d658aa-c335-4f15-bbcd-59fe05d9e913.yaml:
--------------------------------------------------------------------------------
1 | contentColumnType: text
2 | fieldGroup: d08a0d16-0e00-49e6-9cd4-465fa2d65d7d
3 | handle: errorText
4 | instructions: ''
5 | name: 'Error Text'
6 | searchable: true
7 | settings:
8 | charLimit: ''
9 | code: ''
10 | columnType: text
11 | initialRows: '4'
12 | multiline: '1'
13 | placeholder: ''
14 | translationKeyFormat: null
15 | translationMethod: none
16 | type: craft\fields\PlainText
17 |
--------------------------------------------------------------------------------
/cms/config/project/fields/errorHeadline--b8ba7115-3804-4c06-8a96-501963d1fc5c.yaml:
--------------------------------------------------------------------------------
1 | contentColumnType: text
2 | fieldGroup: d08a0d16-0e00-49e6-9cd4-465fa2d65d7d
3 | handle: errorHeadline
4 | instructions: ''
5 | name: 'Error Headline'
6 | searchable: true
7 | settings:
8 | charLimit: ''
9 | code: ''
10 | columnType: text
11 | initialRows: '4'
12 | multiline: ''
13 | placeholder: ''
14 | translationKeyFormat: null
15 | translationMethod: none
16 | type: craft\fields\PlainText
17 |
--------------------------------------------------------------------------------
/docker-config/node-dev-vite/npm_install.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # NPM Install shell script
4 | #
5 | # This shell script runs `npm install` if either the `package-lock.json` file or
6 | # the `node_modules/` directory is not present`
7 | #
8 | # @author nystudio107
9 | # @copyright Copyright (c) 2022 nystudio107
10 | # @link https://nystudio107.com/
11 | # @license MIT
12 |
13 | cd /var/www/project/buildchain
14 | if [ ! -f "package-lock.json" ] || [ ! -d "node_modules" ]; then
15 | npm install
16 | fi
17 |
--------------------------------------------------------------------------------
/cms/templates/_boilerplate/_partials/head-js.twig:
--------------------------------------------------------------------------------
1 | {# -- Register our Service Worker -- #}
2 | {% if not craft.app.config.general.devMode %}
3 | {% include "_boilerplate/_partials/register-service-worker.twig" %}
4 | {% endif %}
5 |
6 | {# -- Handle tabs gracefully as per https://hackernoon.com/removing-that-ugly-focus-ring-and-keeping-it-too-6c8727fefcd2 -- #}
7 | {% include "_boilerplate/_partials/tab-handler.twig" %}
8 |
9 | {# -- Tiny Cookie JavaScript -- #}
10 |
13 |
--------------------------------------------------------------------------------
/cms/modules/sitemodule/.gitignore:
--------------------------------------------------------------------------------
1 | # CRAFT ENVIRONMENT
2 | .env.php
3 | .env.sh
4 | .env
5 |
6 | # COMPOSER
7 | /vendor
8 |
9 | # BUILD FILES
10 | /bower_components/*
11 | /node_modules/*
12 | /build/*
13 | /yarn-error.log
14 |
15 | # MISC FILES
16 | .cache
17 | .DS_Store
18 | .idea
19 | .project
20 | .settings
21 | *.esproj
22 | *.sublime-workspace
23 | *.sublime-project
24 | *.tmproj
25 | *.tmproject
26 | .vscode/*
27 | !.vscode/settings.json
28 | !.vscode/tasks.json
29 | !.vscode/launch.json
30 | !.vscode/extensions.json
31 | config.codekit3
32 | prepros-6.config
33 |
--------------------------------------------------------------------------------
/cms/modules/sitemodule/src/services/Helper.php:
--------------------------------------------------------------------------------
1 |
6 | {% endblock headLinks %}
7 |
8 | {% block content %}
9 |
12 | {% endblock %}
13 |
14 | {% block subcontent %}
15 |
18 | {% endblock %}
19 |
20 | {# -- Any JavaScript that should be included before