Commit Graph

565 Commits

Author SHA1 Message Date
kezzle
8d55e1587b Merge branch 'fix-robots-static' into 'main'
Fix up robots.txt

See merge request tpo/web/lego!75
2022-11-07 18:42:14 +00:00
kez
4235296de5 Simplify robots.txt
The robots.txt spec isn't as strict as I thought, so we don't need to worry
about whitespace or capitalization
2022-11-07 10:17:41 -08:00
kez
ae268f2d69 Disallow entire directories instead of globbing 2022-11-07 10:12:23 -08:00
kez
521c4d65f4 Remove Disallow /static/ from robots.txt
Disallowing /static means our images can't be indexed.
It also breaks twitter's metacards (see tpo/web/donate-static#97)
2022-11-07 10:11:19 -08:00
kezzle
691539da20 Merge branch 'fix-sass-deprecations' into 'main'
Fix deprecation warnings in SCSS

See merge request tpo/web/lego!74
2022-11-02 21:22:06 +00:00
kez
52cccb249a Fix deprecation warnings in SCSS 2022-11-02 13:43:40 -07:00
Jérôme Charaoui
6adecd980d Merge branch 'image-attrs-plugin' into 'main'
add markdown-image-attrs 0.2.1 plugin

See merge request tpo/web/lego!73
2022-11-01 17:52:58 +00:00
Jérôme Charaoui
7170786d2a
add markdown-image-attrs 0.2.1 plugin
cloned from https://github.com/dairiki/lektor-markdown-image-attrs
and cleaned up unneccessary files
2022-11-01 13:00:29 -04:00
kezzle
b362ba120c Merge branch 'banner-close-hover' into 'main'
Banner close hover

See merge request tpo/web/lego!72
2022-10-14 20:11:30 +00:00
kez
912ec5ac88 rebuild css 2022-10-14 13:08:47 -07:00
kez
83de6af1d2 fix banner close hover color 2022-10-14 13:08:11 -07:00
kez
a9c232428d Final updates to YEC22 banner
rebuild css
2022-10-13 13:39:47 -07:00
kezzle
5301543d33 Merge branch 'yec22-scratch' into 'main'
Yec22

See merge request tpo/web/lego!70
2022-10-13 19:45:37 +00:00
kezzle
efd93c7a64 Merge branch 'npm-support-patch' into 'main'
Add install_args setting to lektor-npm-support

See merge request tpo/web/lego!71
2022-10-13 19:10:29 +00:00
kez
5741d25902 Add install_args setting to lektor-npm-support
due to peer dependency conflicts, donate-static requires `npm install`
to be run with `--force`, or the build fails. by adding the
`install_args` option, we can re-enable npm-support for donate-static.

context: tpo/web/donate-static#91
2022-10-13 11:01:08 -07:00
kez
6ee56deb7a fix donate url 2022-10-12 12:32:08 -07:00
kez
be35fa3b4f rebuild css 2022-10-12 10:53:00 -07:00
kez
2657dcf7a7 last revisions 2022-10-12 10:52:32 -07:00
kez
002a25e288 fix banner spacing on small screens 2022-10-12 10:52:32 -07:00
kez
d4b18d2626 update layout 2022-10-12 10:52:32 -07:00
kez
26bae92cf8 use asseturl for banner img srcset 2022-10-12 10:52:32 -07:00
kez
c88f8afab7 add png fallback for svg close icon 2022-10-07 15:37:41 -07:00
kez
a7885d4972 fix spacing 2022-10-07 12:32:15 -07:00
kez
4b7be39475 remove redundant rotate 2022-10-07 12:32:00 -07:00
kez
621c2e685f make the close button work properly 2022-10-06 17:12:49 -07:00
HackerNCoder
67110d8c57 Add font fallback, attempt X svg not found fix 2022-09-30 11:24:34 +00:00
HackerNCoder
59fdedbea5 Add YEC '22 banner 2022-09-30 10:56:34 +00:00
Jérôme Charaoui
27fbe64409
remove test rule, unused at the moment 2022-09-07 15:14:30 -04:00
Jérôme Charaoui
19b1e875b2
prevent img overflow in main div (tpo/web/lego#44) 2022-09-07 15:10:22 -04:00
kezzle
1dc712220d Merge branch 'i48-syntax-highlighting' into 'main'
Add the lektor-markdown-highlighter plugin

Closes #48

See merge request tpo/web/lego!64
2022-08-02 22:28:56 +00:00
kezzle
2ea43852c3 Add the lektor-markdown-highlighter plugin 2022-08-02 22:28:56 +00:00
Jérôme Charaoui
80696bb8fa test rule for styling markdown images (tpo/web/lego#44) 2022-07-27 10:31:52 -04:00
kezzle
37cc68c9ce Merge branch 'support-i299-magnifying-glass' into 'main'
Add fa-magnifying-glass CSS class and icon

Closes support#299

See merge request tpo/web/lego!67
2022-07-26 17:40:44 +00:00
kez
b7e11889ec Add fa-magnifying-glass CSS class and icon
Closes support#299
2022-07-21 17:50:22 -07:00
kez
6045d3ad4c Create .fa-telegram-png-purple SCSS rule 2022-07-14 11:45:47 -07:00
kez
22110b3570 Fix telegram.png dimensions and disk size
The previous telegram.png didn't have a 1:1 ratio, and needed to be run through zopflipng
2022-07-14 11:43:22 -07:00
kez
b475d3e9c3 Add purple fontawesome telegram logo
Closes #49
2022-07-14 10:17:20 -07:00
Silvio Rhatto
b70018ac87
Adds additional files into .gitignore
These are generated by the build process and apparently can be safely
ignored from the repository.
2022-07-11 10:11:36 -03:00
kez
48ec5a58c3 Fix error when the robots_txt databag doesn't exist 2022-06-30 21:23:37 -07:00
kezzle
566e15b971 Merge branch 'i7-robots-txt' into 'main'
Add an extensible template for robots.txt

Closes #7

See merge request tpo/web/lego!65
2022-06-30 19:28:41 +00:00
Gus
9e7d362fce Add telegram channel 2022-06-30 01:36:07 +00:00
kez
2f5127ae74 Add an extensible template for robots.txt 2022-06-29 18:04:42 -07:00
kezzle
bac729086c Merge branch 'i27-scss-plugin' into 'main'
TPA RFC 29: Add lektor-scss plugin

Closes #27

See merge request tpo/web/lego!59
2022-06-16 21:26:59 +00:00
kezzle
5ed7972d66 Merge branch 'add-scss-plugin' into 'main'
Add lektor-scss plugin per TPA-RFC-29

See merge request tpo/web/lego!63
2022-06-16 21:25:06 +00:00
kez
21c208766e Add lektor-scss plugin per TPA-RFC-29
Context: #27 and
<https://gitlab.torproject.org/tpo/tpa/team/-/wikis/policy/tpa-rfc-29-lektor-scss-plugin>

This package is an sdist built from the [lektor-scss 1.4.1 tag][] using
Python 3.8.13 to be compatible with our python3.8 lektor requirement.
I've already vetted the plugin's safety for the RFC.

[lektor-scss 1.4.1 tag]: <https://github.com/chaos-bodensee/lektor-scss/tree/1.4.1>
2022-06-14 15:32:26 -07:00
kezzle
ebded39df0 Merge branch 'correction' into 'main'
punctuation is part of the sentence. reported by translator  nr072,thanks!

See merge request tpo/web/lego!61
2022-06-13 21:12:26 +00:00
emma peel
430e3ac72e
punctuation is part of the sentence. reported by translator nr072,thanks! 2022-06-10 14:36:28 +00:00
kez
e450ffc334 Revert "Patch lektor-i18n-plugin to not insert POT text on python 3.9+"
This reverts commit 451f05bc52.
2022-06-06 11:54:06 -07:00
kezzle
c91e4843b7 Merge branch 'fix-i18n-plugin' into 'main'
Patch lektor-i18n-plugin to not insert POT text on python 3.9+

Closes #37 and team#21

See merge request tpo/web/lego!60
2022-06-06 16:30:17 +00:00
kez
451f05bc52 Patch lektor-i18n-plugin to not insert POT text on python 3.9+
Closes: tpo/web/team#21 and tpo/web/lego#37
2022-06-01 12:46:29 -07:00