Open ssl.conf
in a text editor.
Edit the domain(s) listed under the [alt_names]
section so that they match the local domain name you want to use for your project, e.g.
DNS.1 = my-project.dev
Additional FQDNs can be added if required:
<div id="my-unique-id" hx-history-preserve> | |
<p>Markup here wil be returned to it's original state on history restore.</p> | |
</div> |
.matrixblock[data-type="sectionBlock"] > .titlebar > .blocktype { | |
color: var(--text-color); | |
font-weight: 600; | |
} | |
.matrixblock[data-type="sectionBlock"] ~ .matrixblock:not([data-type="sectionBlock"]) { | |
margin-left: 15px; | |
} | |
.matrixblock + .matrixblock[data-type="sectionBlock"] { | |
margin-top: 30px; |
.matrixblock[data-type="sectionBlock"] ~ .matrixblock:not([data-type="sectionBlock"]) { | |
margin-left: 14px; | |
} | |
.matrixblock + .matrixblock[data-type="sectionBlock"] { | |
margin-top: 30px; | |
} | |
.matrixblock[data-type="sectionBlock"] ~ .matrixblock:not([data-type="sectionBlock"])::before { | |
background: #DFE5EA; |
{# _layouts/base.twig #} | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>{{ entry.title }}</title> | |
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet"> | |
</head> | |
<body> |
/** | |
* htmx components extension | |
* | |
* @author Mark Croxton, Hallmark Design | |
* | |
* How to use: | |
* | |
* 1. Include this script in your page, after htmx.js | |
* <script src="/path/to/ext/components.js" defer></script> | |
* |
Exclude UK Highland and Islands Regex: | |
^ # Start of line | |
(?! # Exclude the following | |
IV([1-9]|[1-4][0-9]|5[0-6])[\s]*([\d][A-Za-z]{2}) # Inverness IV1 - IV56 | |
| # or | |
BT[0-9]{1,2}[\s]*([\d][A-Za-z]{2}) # Belfast BT | |
| | |
GY[0-9]{1,2}[\s]*([\d][A-Za-z]{2}) # Guernsey GY | |
| |
htmx.on('htmx:beforeSwap', (htmxEvent) => { | |
let incomingDOM = new DOMParser().parseFromString(htmxEvent.detail.xhr.response, "text/html"); | |
// Transpose <meta> data, page-specific <link> tags and JSON-LD structured data | |
// Note that hx-boost automatically swaps the <title> tag | |
let selector = "head > meta:not([data-revision]), head *[rel=\"canonical\"], head *[rel=\"alternate\"], body script[type=\"application/ld+json\"]"; | |
document.querySelectorAll(selector).forEach((e) => { | |
e.parentNode.removeChild(e); | |
}); | |
incomingDOM.querySelectorAll(selector).forEach((e) => { | |
if (e.tagName === 'SCRIPT') { |
- pipeline: "Build and deploy to [environment]" | |
trigger_mode: "MANUAL" | |
ref_name: "master" | |
actions: | |
- action: "Execute: gulp build" | |
type: "BUILD" | |
docker_image_name: "library/node" | |
docker_image_tag: "6" | |
execute_commands: | |
- "npm install" |