Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔖 v2.76.0 #1675

Merged
merged 51 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
9cecb76
Update index.it.md
BabaRagnarok Apr 1, 2024
cd583f8
Update index.it.md
BabaRagnarok Apr 1, 2024
b1c138d
Update index.it.md
BabaRagnarok Apr 2, 2024
4c92571
Update started index.it.md
BabaRagnarok Apr 9, 2024
a9e19f3
Update index.it.md
BabaRagnarok Apr 12, 2024
f52acf7
Update configuration file index.it.md
BabaRagnarok May 28, 2024
4161591
new version
nunocoracao Aug 10, 2024
c35242e
add trailing slash for homepage.showMoreLinkDest
wtchangdm Aug 10, 2024
40422fe
Add mastodon sharing link
Ast3risk-ops Aug 10, 2024
042eca7
fix period
Ast3risk-ops Aug 10, 2024
be6ce38
Update sharing.json
Ast3risk-ops Aug 10, 2024
565837e
Merge branch 'dev' into patch-2
Ast3risk-ops Aug 10, 2024
a5e9ac3
edit default sharing link config
Ast3risk-ops Aug 10, 2024
e7a24c2
toot is now share2fedi (sharing.json)
Ast3risk-ops Aug 10, 2024
213880a
add rel attribute to button shortcode
sculptor189 Aug 10, 2024
3ea13cf
correct time format
sculptor189 Aug 10, 2024
d6873cf
chore: Move .Site.Author to .Site.Params.Author
unacro Aug 11, 2024
1fbb47f
📌 Bump tailwindcss from 3.4.7 to 3.4.10
dependabot[bot] Aug 14, 2024
c5dd873
📌 Bump lite-youtube-embed from 0.3.2 to 0.3.3
dependabot[bot] Aug 14, 2024
5f181d0
📌 Bump @tailwindcss/typography from 0.5.13 to 0.5.14
dependabot[bot] Aug 14, 2024
d7f618a
💄 Rebuild CSS
dependabot[bot] Aug 14, 2024
a47a7e3
💄 Rebuild CSS
dependabot[bot] Aug 14, 2024
dcde4fe
Do not prevent default for Enter
Aug 16, 2024
9e5d3f7
avoid showing incorrect lastmod "0001-01-01"
sculptor189 Aug 16, 2024
6f8c427
Update index.zh-cn.md
akatsukiro Aug 23, 2024
d573317
translate front-metter
BabaRagnarok Aug 24, 2024
5b617bc
translate getting-started
BabaRagnarok Aug 24, 2024
7ac9d0c
Update index.it.md
BabaRagnarok Aug 24, 2024
8713e44
translete getting-started
BabaRagnarok Aug 24, 2024
4152e27
translate homepage-layout
BabaRagnarok Aug 24, 2024
d966187
Merge branch 'main' into main
BabaRagnarok Aug 24, 2024
3b3a64c
Update Hugo supported version
nunocoracao Aug 27, 2024
2e16b49
📌 Bump puppeteer from 22.15.0 to 23.2.0
dependabot[bot] Aug 28, 2024
9bfb7ad
Merge pull request #1705 from nunocoracao/dependabot/npm_and_yarn/dev…
nunocoracao Aug 28, 2024
3092ea4
Merge pull request #1689 from nunocoracao/dependabot/npm_and_yarn/dev…
nunocoracao Aug 28, 2024
7811e36
Merge pull request #1688 from nunocoracao/dependabot/npm_and_yarn/dev…
nunocoracao Aug 28, 2024
df7474c
Merge pull request #1686 from nunocoracao/dependabot/npm_and_yarn/dev…
nunocoracao Aug 28, 2024
61c3fb2
Merge pull request #1685 from nunocoracao/hugo-new-version
nunocoracao Aug 28, 2024
9a28e25
📌 Bump prettier-plugin-tailwindcss from 0.6.5 to 0.6.6
dependabot[bot] Aug 28, 2024
fa9c343
Merge pull request #1676 from wtchangdm/fix_show_more_link
nunocoracao Aug 28, 2024
e69e326
Merge pull request #1687 from nunocoracao/dependabot/npm_and_yarn/dev…
nunocoracao Aug 28, 2024
9d07830
Merge pull request #1701 from BabaRagnarok/main
nunocoracao Aug 28, 2024
2be4396
Merge pull request #1694 from sculptor189/lastmod-dev
nunocoracao Aug 28, 2024
ff75399
Merge pull request #1699 from akatsukiro/main
nunocoracao Aug 28, 2024
5ccea15
Merge pull request #1693 from panjinbo/main
nunocoracao Aug 28, 2024
363ba66
Merge pull request #1679 from sculptor189/date-modify
nunocoracao Aug 28, 2024
c0af00b
Merge pull request #1677 from Ast3risk-ops/patch-2
nunocoracao Aug 28, 2024
4a4c13f
update
nunocoracao Aug 28, 2024
afbf2f6
Merge pull request #1678 from sculptor189/main
nunocoracao Aug 28, 2024
d214314
Merge pull request #1681 from unacro/dev
nunocoracao Aug 28, 2024
a517624
final changes
nunocoracao Aug 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions assets/css/compiled/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ body.zen-mode-enable {
}
}

/*! tailwindcss v3.4.7 | MIT License | https://tailwindcss.com */
/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
Expand Down Expand Up @@ -1121,7 +1121,6 @@ select {
.prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
width:100%;
table-layout:auto;
text-align:start;
margin-top:2em;
margin-bottom:2em;
font-size:0.875em;
Expand Down Expand Up @@ -1164,6 +1163,10 @@ select {
vertical-align:top
}

.prose :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
text-align:start
}

.prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top:0;
margin-bottom:0
Expand Down
2 changes: 0 additions & 2 deletions assets/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ document.addEventListener("keydown", function (event) {
} else {
document.activeElement.click();
}
}else{
event.preventDefault();
}
}

Expand Down
15 changes: 14 additions & 1 deletion assets/lib/lite-youtube-embed/lite-yt-embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,23 @@ class LiteYTEmbed extends HTMLElement {

this.addNoscriptIframe();

playBtnEl.removeAttribute('href');
// for the PE pattern, change anchor's semantics to button
if(playBtnEl.nodeName === 'A'){
playBtnEl.removeAttribute('href');
playBtnEl.setAttribute('tabindex', '0');
playBtnEl.setAttribute('role', 'button');
// fake button needs keyboard help
playBtnEl.addEventListener('keydown', e => {
if( e.key === 'Enter' || e.key === ' ' ){
e.preventDefault();
this.activate();
}
});
}

// On hover (or tap), warm up the TCP connections we're (likely) about to use.
this.addEventListener('pointerover', LiteYTEmbed.warmConnections, {once: true});
this.addEventListener('focusin', LiteYTEmbed.warmConnections, {once: true});

// Once the user clicks, add the real iframe and drop our play button
// TODO: In the future we could be like amp-youtube and silently swap in the iframe during idle time
Expand Down
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[module.hugoVersion]
extended = true
min = "0.87.0"
max = "0.131.0"
max = "0.133.1"
3 changes: 2 additions & 1 deletion config/_default/languages.en.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
disabled = false
languageCode = "en"
languageName = "English"
weight = 1
Expand All @@ -13,7 +14,7 @@ title = "Blowfish"
# description = "My awesome website"
# copyright = "Copy, _right?_ :thinking_face:"

# [author]
# [params.author]
# name = "Your name here"
# email = "youremail@example.com"
# image = "img/blowfish_logo.png"
Expand Down
4 changes: 2 additions & 2 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ forgejoDefaultServer = "https://v8.next.forgejo.org"
showRecent = false
showRecentItems = 5
showMoreLink = false
showMoreLinkDest = "/posts"
showMoreLinkDest = "/posts/"
cardView = false
cardViewScreenWidth = false
layoutBackgroundBlur = false # only used when layout equals background
Expand Down Expand Up @@ -80,7 +80,7 @@ forgejoDefaultServer = "https://v8.next.forgejo.org"
showTaxonomies = false
showAuthorsBadges = false
showWordCount = true
# sharingLinks = [ "linkedin", "twitter", "bluesky", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram"]
# sharingLinks = [ "linkedin", "twitter", "bluesky", "mastodon", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram"]
showZenMode = false

[list]
Expand Down
9 changes: 7 additions & 2 deletions data/sharing.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,10 @@
"icon": "bluesky",
"title": "sharing.bluesky",
"url": "https://bsky.app/intent/compose?text=%[2]s+%[1]s"
}
}
},
"mastodon": {
"icon": "mastodon",
"title": "sharing.mastodon",
"url": "https://s2f.kytta.dev/?text=%[2]s %[1]s"
}
}
2 changes: 1 addition & 1 deletion exampleSite/config/_default/languages.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ title = "Blowfish"
logo = "img/blowfish_logo_transparent.png"
description = "A powerful, lightweight theme for Hugo."

[author]
[params.author]
name = "Blowfish"
email = "nuno@n9o.xyz"
image = "img/blowfish_logo.png"
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/config/_default/languages.it.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ title = "Blowfish"
logo = "img/blowfish_logo_transparent.png"
description = "Un potente, leggero tema per Hugo."

[author]
[params.author]
name = "Blowfish"
image = "img/blowfish_logo.png"
headline = "Un potente, leggero tema per Hugo."
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/config/_default/languages.ja.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ title = "Blowfish"
logo = "img/blowfish_logo_transparent.png"
description = "強力で、軽量な Hugo のテーマです。"

[author]
[params.author]
name = "Blowfish"
image = "img/blowfish_logo.png"
headline = "強力で、軽量な Hugo のテーマです。"
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/config/_default/languages.zh-cn.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ title = "Blowfish"
logo = "img/blowfish_logo_transparent.png"
description = "一个强大、轻量级的 Hugo 主题。"

[author]
[params.author]
name = "Blowfish"
image = "img/blowfish_logo.png"
headline = "一个强大、轻量级的 Hugo 主题。"
Expand Down
Loading