Fredrik Jonsson
9017bdebf5
Add a editorconfig file.
2023-04-25 09:15:17 +02:00
dependabot[bot]
7ba670ba69
Bump yaml, stylelint, stylelint-config-standard-scss and stylelint-scss ( #89 )
...
Removes [yaml](https://github.com/eemeli/yaml ). It's no longer used after updating ancestor dependencies [yaml](https://github.com/eemeli/yaml ), [stylelint](https://github.com/stylelint/stylelint ), [stylelint-config-standard-scss](https://github.com/stylelint-scss/stylelint-config-standard-scss ) and [stylelint-scss](https://github.com/stylelint-scss/stylelint-scss ). These dependencies need to be updated together.
Removes `yaml`
Updates `stylelint` from 14.14.1 to 15.6.0
- [Release notes](https://github.com/stylelint/stylelint/releases )
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint/stylelint/compare/14.14.1...15.6.0 )
Updates `stylelint-config-standard-scss` from 6.1.0 to 9.0.0
- [Release notes](https://github.com/stylelint-scss/stylelint-config-standard-scss/releases )
- [Changelog](https://github.com/stylelint-scss/stylelint-config-standard-scss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint-scss/stylelint-config-standard-scss/compare/v6.1.0...v9.0.0 )
Updates `stylelint-scss` from 4.3.0 to 4.6.0
- [Release notes](https://github.com/stylelint-scss/stylelint-scss/releases )
- [Changelog](https://github.com/stylelint-scss/stylelint-scss/blob/master/CHANGELOG.md )
- [Commits](https://github.com/stylelint-scss/stylelint-scss/compare/v4.3.0...v4.6.0 )
---
updated-dependencies:
- dependency-name: yaml
dependency-type: indirect
- dependency-name: stylelint
dependency-type: direct:development
- dependency-name: stylelint-config-standard-scss
dependency-type: direct:development
- dependency-name: stylelint-scss
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 08:26:17 +02:00
Fredrik Jonsson
33c9642116
Remove use of :has() from js as well.
2023-04-24 14:25:36 +02:00
Fredrik Jonsson
25e792dd22
Adjust padding and gap in the tables componets styles.
2023-04-24 09:33:26 +02:00
Fredrik Jonsson
a54b27a9a7
Code style and code comments fixes.
2023-04-24 09:20:48 +02:00
Fredrik Jonsson
3bf7c9ad3a
Rework the tables componets styles to work for all browsers, :has() support is limited.
2023-04-24 09:20:25 +02:00
Fredrik Jonsson
86d7c8d001
Minor codestyle fixes to meta_breadcrumb. Moving safeJS to the partial output.
2023-04-23 20:59:21 +02:00
Fredrik Jonsson
a4b9df99b1
Add header tag to title in list layouts so the title to not fall of the page. Minor other layout fixes.
2023-04-23 20:56:27 +02:00
Daniel F. Dickinson
eb27a1e023
Add schema.org BreadcrumbList to JSON+LD ( #87 )
...
* Add schema.org BreadcrumbList to JSON+LD
This implementation depends on .Page.Ancestors, which requires Hugo
version v0.109.0.
Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
* Fix extraneous comma in schema
For blog posts we ended up with an extraneous comma due to it being
outside the condition for the breadcrumb
JSON+LD.
Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
* Pretty print breadcrumb JSON+LD for schema
Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
* Make breadcrumbs opt-in on non-blogSections
Sections except blogSections (which is a configurable set which is
defaulted to sections 'blog' and 'post'), may be part of
`breadcrumbSections`. For the breadcrumb Sections, the section and any
pages under it will have the `breadcrumb` attribute (of type
`BreadcrumbList`) added to the JSON+LD for their schema.org structured
data.
Update documentation of `params` for example `config.yaml` in README.
Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
---------
Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2023-04-23 20:17:52 +02:00
Fredrik Jonsson
52fd600814
More use of start/end for paddings and margins.
2023-04-23 18:24:51 +02:00
Fredrik Jonsson
a5e759d988
Add style components for zebra-tables and responsive-tables.
2023-04-23 16:47:57 +02:00
Fredrik Jonsson
8ca27a65c3
Use start/end for text-align and padding to handle rtl etc. better.
2023-04-23 16:47:14 +02:00
Fredrik Jonsson
3012cad52e
Add colours for odd/even rows and row headers.
2023-04-23 16:44:15 +02:00
Fredrik Jonsson
c482552746
Math partial can not be cached.
2023-04-18 15:18:31 +02:00
Fredrik Jonsson
936892fe7b
Add math render codeblock and math shortcode.
2023-04-13 16:09:09 +02:00
Fredrik Jonsson
91c01f30a0
Add support for pre and post in menu items.
2023-04-11 11:26:39 +02:00
Fredrik Jonsson
9e025a2b53
Adjust how max line width is set on lists and headings.
2023-04-03 14:51:12 +02:00
Fredrik Jonsson
2a24277c90
Fix spelling, it is Matomo and not Matamo. Thanks @bwc69151.
2023-04-03 12:01:37 +02:00
Fredrik Jonsson
bc3dc4a071
Update README with KaTeX support etc.
2023-04-02 11:45:22 +02:00
Fredrik Jonsson
4ec8920b90
Style adjustments for forms.
2023-03-27 11:36:05 +02:00
Fredrik Jonsson
a5a71c126f
Improve comments for variables.
2023-03-27 11:35:46 +02:00
Fredrik Jonsson
516dff348e
Rename assets/vendor to assets/libs to make it work with go modules.
2023-03-26 14:21:12 +02:00
Fredrik Jonsson
be55ea6bdd
Added newly added 3.x features to the README.
2023-03-26 11:41:06 +02:00
Fredrik Jonsson
d7fe991e4c
Added margin-block classes as e.g. mtb--m.
2023-03-26 11:40:50 +02:00
Fredrik Jonsson
d4c120d04c
Add all example render hooks to the README.
2023-03-26 10:43:44 +02:00
bwc69151
fb382bda2a
Swahili translation sw.toml ( #84 )
2023-03-26 10:25:30 +02:00
Fredrik Jonsson
c1b813206e
Add links to nice forms in the README, part 2.
2023-03-26 10:23:06 +02:00
Fredrik Jonsson
0ba4ea9b18
Add links to nice forms in the README.
2023-03-25 21:03:20 +01:00
Fredrik Jonsson
37b0a700af
Fix linting issue.
2023-03-25 20:59:21 +01:00
Fredrik Jonsson
e40112df72
Box shadow on button active.
2023-03-25 16:04:48 +01:00
Fredrik Jonsson
2034707d32
Box shadow on button hover.
2023-03-25 15:03:39 +01:00
Fredrik Jonsson
ce9d9ff8cc
Fix bug with unit in spacing mixin.
2023-03-24 14:45:02 +01:00
Fredrik Jonsson
17d3ac7f81
Fix: debug should be false by default.
2023-03-24 14:13:05 +01:00
Fredrik Jonsson
f8f7981f4b
Make use of css variables in responsive-video component.
2023-03-23 19:11:04 +01:00
Fredrik Jonsson
fce6597ea1
Add missing tags component.
2023-03-18 07:30:06 +01:00
Fredrik Jonsson
c9526d5de0
Remove button from base/forms.
2023-03-17 20:30:38 +01:00
Fredrik Jonsson
5cffb74b65
Do not set max line with on h1.
2023-03-17 20:26:42 +01:00
Fredrik Jonsson
9a8fc75e1f
Make use of partialCached for cookiconsent and math.
2023-03-17 20:07:13 +01:00
Fredrik Jonsson
eee22b08f5
Adjustments to the katex integration, part 2.
2023-03-17 16:44:50 +01:00
Fredrik Jonsson
5033f3a277
Adjustments to the katex integration.
2023-03-17 14:14:19 +01:00
Jason Li
1b82c48add
Add math typesetting support with KaTex ( #80 )
...
* add math typesetting support with KaTex
* Simplified the syntax for checking "math" property
* save katex files to local
* use local katex file to render math typesetting
* revert changes in scripts.html and styles.html
* Save math.js as a file, not inline script.
* move it into "assets/js" folder
* Load all necessary scripts and styles in math.html
2023-03-17 13:50:57 +01:00
Fredrik Jonsson
1d6e50708a
Move some styles fron zen to base. Add margin-top and margin bottom classes for all spacing levels. Add footer component.
2023-03-15 15:46:09 +01:00
Fredrik Jonsson
881ab104d8
Readd debug mixin.
2023-03-15 15:07:45 +01:00
Fredrik Jonsson
b1ea700304
Add a footer-bg colour.
2023-03-15 15:06:56 +01:00
Fredrik Jonsson
ef541b998e
Split sass reset dir in to reset file and base dir.
2023-03-15 15:06:45 +01:00
Fredrik Jonsson
c81317e0ca
Adjust font sizes.
2023-03-13 09:18:53 +01:00
Fredrik Jonsson
8b433b36ec
Update to FlexSearch.js v0.7.31.
2023-03-13 09:18:32 +01:00
Fredrik Jonsson
afbc914417
Remove unused our outdated js libs.
2023-03-13 08:07:52 +01:00
Fredrik Jonsson
308e9d961b
Make use of :focus-visible when needed.
2023-03-08 08:18:25 +01:00
Fredrik Jonsson
44a15013b5
Add description to archetypes.
2023-03-08 08:18:03 +01:00