53 Commits

Author SHA1 Message Date
Olivier Lacan
bee0534514 Make page title & description dynamic
Previously they had to be duplicated from the page
frontmatter but that's not necessary and also makes
it possible to have correct OpenGraph title and
descriptions.
2024-02-04 21:13:49 -08:00
Olivier Lacan
b03309559b Use asset_url instead of path for OG image 2024-02-04 20:14:31 -08:00
Olivier Lacan
651597a0d8 Replace OpenGraph image with a proper one 2024-02-04 20:10:15 -08:00
Olivier Lacan
2d71509cf6 Display number of language translations
I can't believe it's 28 🫨!
2024-02-04 18:42:41 -08:00
Olivier Lacan
acd4093fb1 Enable font-display: swap on Google Fonts
Should make the FOUT a thing of the past.
2023-03-08 01:24:42 -08:00
Olivier Lacan
592a01f654 Fix HTML issues with layout
Addresses #453
2023-03-08 01:13:29 -08:00
Olivier Lacan
bb8f3f3698 Preconnect to Google Fonts
I'm exploring removing Google Fonts entirely but in the meantime
I'd like to see if we can avoid having the fonts block rendering.
2023-03-07 21:17:55 -08:00
Olivier Lacan
912a61f8a1 Remove now malicious link
Bummer. But even after a quick search I couldn't find a reputable
homebase for Tyler.
2023-03-07 16:06:59 -08:00
Philip Eriksson
2c562d1e5b
HTML changes to languages (#461)
* Move language tag to root

* Add language tag to changelog example
2023-03-07 13:36:59 -08:00
Olivier Lacan
f21b2cee82 Improve responsive layout
Notably fixes the issues with the language
select on narrow viewports (mobile).
2023-03-06 20:16:54 -08:00
Olivier Lacan
3c38a59bce Fix & style available version notice
Fix #434 #373 #320
2023-03-06 00:09:48 -08:00
Olivier Lacan
93cf312f2f Fix missing logo in 1.1
Fixes #382
2023-03-05 16:48:14 -08:00
Olivier Lacan
ac57cbf6e7 Add label & count to language selector 2023-03-05 16:35:12 -08:00
Olivier Lacan
abf0658960 Update to Ruby 3.2.0
Required minor changes since File.exists? is now File.exist?
2023-02-07 12:40:42 -05:00
Olivier Lacan
c819f7507e
Add Mastodon verification link 2022-11-04 18:06:49 -07:00
NicoHood
a44717b4b1
Improve footer (#384)
See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Contentinfo_role

Note: https://tylerfortune.me/ Is not available anymore (but the dummy page uses https as well)
2021-02-02 14:28:22 -05:00
Olivier Lacan
3a7298570a Prevent 1.1.0 from being $latest_version for now
We don't quite yet want to redirect to this version although it will be
good to be able to test it.
# Title

# Tell me everything!

# Co-authors (they will be credited on GitHub as well)
# Co-authored-by: Carolina Powers <carolinapoloni@gmail.com>
# Co-authored-by: Meg Kline-Tuls <meglktuls@gmail.com>
# Co-authored-by: Will <will-soto@pluralsight.com>
# Co-authored-by: thatchej <jaron-thatcher@pluralsight.com>
2019-02-15 13:06:00 -05:00
Olivier Lacan
629f526af8 Defer JS loading to improve first paint perf 2018-03-12 00:01:59 -04:00
David Díaz
d17b637097 Add helper to simplify the build of language selector 2017-07-06 21:03:20 +01:00
David Díaz
313a4406c0 Add content to language selector options
Firefox (Gecko engine) do not render the `label` attribute as option
content.

Resolve #180

More info:
https://bugzilla.mozilla.org/show_bug.cgi?id=40545
2017-07-06 20:21:55 +01:00
Olivier Lacan
1291a20db2 Merge pull request #160 from kewang/feature/favicon
Add favicon & og:image
2017-06-20 21:16:11 +01:00
Olivier Lacan
5416cb7d3a Display version in language list 2017-06-20 09:07:27 +01:00
Olivier Lacan
94f505ea47 Add legacy styles for old versions
Also improved the messages indicating a new version is available
for each language so they can be written in the target language
otherwise they default to English just like the notice that a version
isn’t the latest but hasn’t yet been translated for the newer
version.
2017-06-20 06:38:17 +02:00
Olivier Lacan
75c07c77ec Extract variables from layout 2017-06-20 06:12:16 +02:00
Kewang
14314ff82f Merge branch 'master' into feature/favicon 2017-06-04 14:44:23 +08:00
Olivier Lacan
0dccc2b121 Add logo and Tyler to footer 2017-05-24 11:40:09 -04:00
kewang
f2567b0036 Add og:image 2017-05-20 18:59:17 +08:00
kewang
6b227e2a63 Add favicon 2017-05-20 18:44:10 +08:00
Olivier Lacan
417ff94703 Merge branch 'master' into 0-4-0 2017-05-16 10:48:09 -06:00
Olivier Lacan
f770df17f9 Add glorious @tylerfortune8 styling for 1.0.0 2017-05-16 10:43:55 -06:00
Olivier Lacan
5ac2bc826d Output table of contents on top 2017-04-05 23:04:21 +02:00
Olivier Lacan
fcce20efff Stop using weird Haml break for changelog preview
It’s really not worth the double filter call and I’m sure I can find
some way to use Middleman to extract this into a method.
2017-04-05 05:27:12 -04:00
Olivier Lacan
0d8d117670 Keep Source Code Pro for changelog preview 2017-04-04 19:09:24 -04:00
Nathaniel Bibler
083cbfa8e4 Use the correct value for lang and hreflang 2017-03-25 10:23:32 -04:00
Olivier Lacan
bce6d97f3b Add some language notices for last version
Thanks to contributor help from https://github.com/olivierlacan/keep-a-changelog/issues/151
2017-03-23 04:37:03 +01:00
Olivier Lacan
00fd940df5 No need to show language codes
Few people probably are aware of what those are and they’re
supremely distracting.
2017-03-19 07:33:31 +01:00
Olivier Lacan
b8b78adc54 Invite people to help translate latest version
Hopefully we can find a way to translate this notice into
every current language via: https://github.com/olivierlacan/keep-a-changelog/issues/151
2017-03-19 07:32:02 +01:00
Olivier Lacan
9bae4a465e Display a notice if this isn’t the latest version
This will allow visitors to translations to be aware (if they
speak English, I know…) that there is a newer version already
available in English but that it hasn’t been translated into their
language yet.
2017-03-19 07:22:42 +01:00
Olivier Lacan
d062ea3a36 This project isn't sponsored by Code School
So no point in mentioning it in the footer.
2016-08-07 15:07:11 -04:00
Olivier Lacan
9afff8fc3e Upgrade to Middleman 4.1.10 2016-08-06 01:37:12 -04:00
Olivier Lacan
e8602923dd Start versioning from 0.3.0
This requires moving every current translation into a 0.3.0/ directory and doing
some default redirection when people hit keepachangelog.com they should
always be redirected to the latest version.

Currently that's hardcoded to 0.3.0 but we're going to surely use something akin
to a version.rb to define that and use it across the codebase.
2016-05-16 15:20:26 +02:00
Michael Burri
fc51f1fbc2 Added German translation 2016-01-23 17:01:25 +01:00
Nathaniel Bibler
f186afe9b9 Add translation links and attribution for zh-TW and zh-CN. 2016-01-13 12:58:55 -05:00
Olivier Lacan
9186608879 Add @ZeliosAriex's Spanish translation to the interface 2015-12-03 13:42:02 -05:00
Nathaniel Bibler
55c473be6d Add a trailing slash to the locale URLs.
This removes/avoids an intermediary redirect in production.
2015-10-31 15:55:50 -04:00
Nathaniel Bibler
f663b73e46 Fix 'engish' typo. 2015-10-31 15:41:07 -04:00
Nathaniel Bibler
ede2279312 Switch to Google Fonts.
The intent is to remove the Typekit JavaScript execution and subsequent
network requests to improve load times. Google Fonts only requires one
non-authenticated, cached stylesheet request.

This changes the body font from JAF Bernino Sans to Carrois Gothic and
the "bold" Source Code Pro was reduced from Ultra Bold (900) to Bold
(700).
2015-10-31 15:36:29 -04:00
Nathaniel Bibler
b84866624e Add locale link metadata. 2015-10-24 01:19:47 -04:00
Nathaniel Bibler
ae3da5c7e3 Add @tallesl's pt-BR translation from #69. 2015-10-24 01:08:39 -04:00
Nathaniel Bibler
a90e252a18 Add locale links to the header and some ARIA roles. 2015-10-24 00:40:49 -04:00