-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into positioning-update
* main: (73 commits) Automated webmentions update Automated dependency upgrades upgrade deps fix broken link remove details, update post date, update alt Automated webmentions update Automated dependency upgrades Fix toc punctuation Update toc Address Stacy review Date and hero image Address review comments Apply suggestions from code review Automated webmentions update Automated dependency upgrades An article about containment on root Bring back the form honeypot update dates and remove unpublished posts put text alternative into details/summary remove webmention ...
- Loading branch information
Showing
68 changed files
with
4,049 additions
and
1,983 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
{ | ||
"name": "Oddleventy", | ||
"image": "node:16", | ||
"containerEnv": { | ||
"SHELL": "/bin/bash" | ||
}, | ||
"forwardPorts": [8080], | ||
|
||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"csstools.postcss", | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode", | ||
"formulahendry.auto-rename-tag", | ||
"naumovs.color-highlight", | ||
"stkb.rewrap", | ||
"stylelint.vscode-stylelint", | ||
"syler.sass-indented", | ||
"tyriar.sort-lines", | ||
"xabikos.javascriptsnippets" | ||
], | ||
"settings": { | ||
"terminal.integrated.profiles.linux": { | ||
"bash": { | ||
"path": "/bin/bash" | ||
} | ||
}, | ||
"terminal.integrated.defaultProfile.linux": "bash", | ||
"editor.bracketPairColorization.enabled": true, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
}, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
"editor.tabSize": 2, | ||
"eslint.validate": ["javascript", "typescript"], | ||
"files.insertFinalNewline": true, | ||
"files.trimFinalNewlines": true, | ||
"files.trimTrailingWhitespace": true, | ||
"javascript.suggestionActions.enabled": false, | ||
"remote.extensionKind": { | ||
"ms-azuretools.vscode-docker": "workspace" | ||
}, | ||
"typescript.preferences.quoteStyle": "single", | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"[javascript]": { | ||
"editor.rulers": [80] | ||
}, | ||
"[markdown]": { | ||
"editor.rulers": [80] | ||
}, | ||
"[typescript]": { | ||
"editor.rulers": [80] | ||
}, | ||
"[html]": { | ||
"editor.formatOnSave": false | ||
}, | ||
"[scss]": { | ||
"editor.rulers": [80], | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.stylelint": true | ||
} | ||
}, | ||
"files.exclude": { | ||
"**/.git": true, | ||
"**/.DS_Store": true, | ||
".coverage": true, | ||
"coverage": true, | ||
"htmlcov": true, | ||
".tags": true, | ||
".cache": true, | ||
"collected-assets": true, | ||
"staticfiles": true, | ||
"**/*.egg-info": true | ||
}, | ||
"search.exclude": { | ||
"**/node_modules": true, | ||
"**/*.css.map": true, | ||
"**/*.js.map": true, | ||
"yarn.lock": true, | ||
"yarn-debug.log": true, | ||
"yarn-error.log": true, | ||
"static/built": true, | ||
"static/docs": true, | ||
".yarn": true | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
singleQuote: true | ||
trailingComma: all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{# @docs | ||
label: OddNews Macros | ||
category: File | ||
note: Macros related to OddNews newsletter. | ||
#} | ||
|
||
{# @docs | ||
label: oddnews_signup | ||
note: Generate an OddNews signup form | ||
params: | ||
heading: | ||
type: boolean | ||
default: true | ||
note: Whether to include the "OddNews Sign Up" heading | ||
tag: | ||
type: string | ||
default: 'footer' | ||
note: | | ||
tag for page where signup form is located: | ||
'footer' or 'oddblog' or 'oddnews' | ||
class: | ||
type: string | ||
default: none | ||
note: optional class to add to wrapping `<div>` | ||
#} | ||
{% macro oddnews_signup( | ||
heading=true, | ||
tag='footer', | ||
class=none | ||
) %} | ||
<div class="oddnews-signup{% if class %} {{ class }}{% endif %}"> | ||
{% if heading %} | ||
<h3>OddNews Sign Up</h3> | ||
<p>Get the latest news in your field — UX, CSS, JavaScript, and Python. <a href="/oddnews">See Archive</a></p> | ||
{% endif %} | ||
|
||
<form action="https://oddbird.us19.list-manage.com/subscribe/post?u=80219aa68d7bad77b9fd2eb93&id=7c27f7fb9a&f_id=000a9de4f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_self"> | ||
<div id="mc_embed_signup_scroll"> | ||
<div class="mc-field-group"> | ||
<label for="mce-EMAIL">Email | ||
<span aria-hidden="true">*</span> | ||
<span class="sr-only">required</span> | ||
</label> | ||
<input data-input="text email" type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" required > | ||
<span id="mce-EMAIL-HELPERTEXT" class="helper_text"></span> | ||
</div> | ||
<div hidden="true"><input type="hidden" name="tags" value={{ tag | oddNewsTags }}></div> | ||
<div id="mce-responses" class="clear foot"> | ||
<div class="response" id="mce-error-response" style="display:none"></div> | ||
<div class="response" id="mce-success-response" style="display:none"></div> | ||
</div> | ||
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups --> | ||
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_80219aa68d7bad77b9fd2eb93_7c27f7fb9a" tabindex="-1" value=""></div> | ||
<div class="optionalParent"> | ||
<div class="clear foot form-actions"> | ||
<button data-btn="submit" type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button">Subscribe</button> | ||
</div> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
{% endmacro %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.