Skip to content

Commit 255b64e

Browse files
committed
chore: Update comments script source URL
1 parent 57eebe8 commit 255b64e

File tree

5 files changed

+88
-71
lines changed

5 files changed

+88
-71
lines changed

default.hbs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
// Map subpaths to locales
3333
var localeMap = {
3434
'es': 'es',
35-
'br': 'pt-BR',
35+
'br': 'pt',
3636
'en': 'en',
3737
// Add more mappings as needed
3838
};
@@ -62,7 +62,7 @@
6262
{{!-- The following CSS is used to style the navigation layout --}}
6363
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/brands.min.css" integrity="sha512-W/zrbCncQnky/EzL+/AYwTtosvrM+YG/V6piQLSe2HuKS6cmbw89kjYkp3tWFn1dkWV7L1ruvJyKbLz73Vlgfg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
6464
{{!-- The following CSS is used tofor TOC Bot --}}
65-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.27.16/tocbot.min.css" integrity="sha512-4q0OX9NAYcRTFEfy9nTK0AV9N7MxM665neDXEW3CjAj1pXc6+8Bcd6ryXl6cY8mTBBXt0aXepnSDLLQZSuJRww==" crossorigin="anonymous" referrerpolicy="no-referrer" />
65+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.28.2/tocbot.min.css" integrity="sha512-4q0OX9NAYcRTFEfy9nTK0AV9N7MxM665neDXEW3CjAj1pXc6+8Bcd6ryXl6cY8mTBBXt0aXepnSDLLQZSuJRww==" crossorigin="anonymous" referrerpolicy="no-referrer" />
6666

6767
{{!-- This tag outputs all your advanced SEO meta, structured data, and other important settings, it should always be the last tag before the closing head tag --}}
6868
{{ghost_head}}
@@ -120,8 +120,7 @@
120120
{{! Initialize Tocbot after you load the script }}
121121

122122
{{!-- The following script is for TOC Bot --}}
123-
<script src="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.27.16/tocbot.min.js" integrity="sha512-aSXZBmth3MYo5SG4wZKYhWPTgS25htvpjpOnt+dbvLSXmFk9lMb7WUFPWIzxl6+HKOkJW8oCQmSwy3vHVSLzKg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
124-
123+
<script src="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.28.2/tocbot.min.js" integrity="sha512-+9XzRSJjnUN2OI106uAbbVZ3f+z1ncIRZFOr56hEdaxbQeZ8i1+B7OVjdF8tG4YhgxM/rWP73K2SiG93x6UJoQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
125124
<script>
126125
tocbot.init({
127126
// Where to render the table of contents.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "ghost-source-theme",
33
"description": "Fork of the default theme of Ghost publishing platform, customized for sredevops.org",
44
"demo": "https://sredevops.org",
5-
"version": "1.4.0",
5+
"version": "1.4.1",
66
"engines": {
77
"ghost": ">=5.0.0"
88
},

partials/components/post-list.hbs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
{{#if showTitle}}
1313
<h2 class="gh-container-title">
14-
{{#unless title}}Latest{{else}}{{title}}{{/unless}}
14+
{{#unless title}} + SREDevOps.org: {{else}}{{title}}{{/unless}}
1515
</h2>
1616
{{/if}}
1717

@@ -92,11 +92,11 @@
9292
{{/if}}
9393
{{#if @site.members_enabled}}
9494
{{#unless @member}}
95-
<button class="gh-button" data-portal="signup">Subscribe</button>
95+
<button class="gh-button" data-portal="signup">{{t "Subscribe"}}</button>
9696
{{else}}
9797
{{#if @site.paid_members_enabled}}
9898
{{#unless @member.paid}}
99-
<button class="gh-button" data-portal="upgrade">Upgrade</button>
99+
<button class="gh-button" data-portal="upgrade">{{t "Upgrade"}}</button>
100100
{{/unless}}
101101
{{/if}}
102102
{{/unless}}
@@ -106,7 +106,7 @@
106106
<section class="gh-recommendations">
107107
<h4 class="gh-sidebar-title">Recomendados</h4>
108108
{{recommendations}}
109-
<button data-portal="recommendations">Ver todos {{> "icons/arrow"}}</button>
109+
<button data-portal="recommendations" class="gh-button">Ver todos {{> "icons/arrow"}}</button>
110110
</section>
111111
{{/if}}
112112
</div>
@@ -115,7 +115,7 @@
115115

116116
{{#match pagination.pages ">" 1}}
117117
<div class="gh-more is-title">
118-
<a href="{{@site.url}}/page/2">More content in SREDevOps.org {{> "icons/arrow"}}</a>
118+
<a href="{{@site.url}}/page/2">Ver más en SREDevOps.org {{> "icons/arrow"}}</a>
119119
</div>
120120
{{/match}}
121121

post.hbs

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,25 @@
6262
</section>
6363

6464
</article>
65-
65+
<div class="gh-comments gh-canvas">
66+
<script src="https://sredevopsorg.vercel.app/client.js"
67+
data-repo="sredevopsorg/.github"
68+
data-repo-id="R_kgDOIa4NMg"
69+
data-category="Comentarios en SREDevOps.org"
70+
data-category-id="DIC_kwDOIa4NMs4CgHgt"
71+
data-mapping="url"
72+
data-strict="1"
73+
data-reactions-enabled="1"
74+
data-emit-metadata="0"
75+
data-input-position="top"
76+
data-theme="dark"
77+
data-lang="en"
78+
data-loading="lazy"
79+
crossorigin="anonymous"
80+
referrerpolicy="no-referrer"
81+
async>
82+
</script>
83+
</div>
6684
{{#if comments}}
6785
<div class="gh-comments gh-canvas">
6886
{{comments}}

yarn.lock

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -68,55 +68,55 @@
6868
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
6969
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
7070

71-
"@sentry-internal/tracing@7.116.0":
72-
version "7.116.0"
73-
resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.116.0.tgz#af3e4e264c440aa5525b5877a10b9a0f870b40e3"
74-
integrity sha512-y5ppEmoOlfr77c/HqsEXR72092qmGYS4QE5gSz5UZFn9CiinEwGfEorcg2xIrrCuU7Ry/ZU2VLz9q3xd04drRA==
75-
dependencies:
76-
"@sentry/core" "7.116.0"
77-
"@sentry/types" "7.116.0"
78-
"@sentry/utils" "7.116.0"
79-
80-
"@sentry/core@7.116.0":
81-
version "7.116.0"
82-
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.116.0.tgz#7cff43134878a696b2b3b981ae384ec3db9ac8c3"
83-
integrity sha512-J6Wmjjx+o7RwST0weTU1KaKUAlzbc8MGkJV1rcHM9xjNTWTva+nrcCM3vFBagnk2Gm/zhwv3h0PvWEqVyp3U1Q==
84-
dependencies:
85-
"@sentry/types" "7.116.0"
86-
"@sentry/utils" "7.116.0"
87-
88-
"@sentry/integrations@7.116.0":
89-
version "7.116.0"
90-
resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-7.116.0.tgz#b641342249da76cd2feb2fb5511424b66f967449"
91-
integrity sha512-UZb60gaF+7veh1Yv79RiGvgGYOnU6xA97H+hI6tKgc1uT20YpItO4X56Vhp0lvyEyUGFZzBRRH1jpMDPNGPkqw==
92-
dependencies:
93-
"@sentry/core" "7.116.0"
94-
"@sentry/types" "7.116.0"
95-
"@sentry/utils" "7.116.0"
71+
"@sentry-internal/tracing@7.117.0":
72+
version "7.117.0"
73+
resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.117.0.tgz#c7d2357dae8d7ea2bc130e4513ac4ffc8dc7553c"
74+
integrity sha512-fAIyijNvKBZNA12IcKo+dOYDRTNrzNsdzbm3DP37vJRKVQu19ucqP4Y6InvKokffDP2HZPzFPDoGXYuXkDhUZg==
75+
dependencies:
76+
"@sentry/core" "7.117.0"
77+
"@sentry/types" "7.117.0"
78+
"@sentry/utils" "7.117.0"
79+
80+
"@sentry/core@7.117.0":
81+
version "7.117.0"
82+
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.117.0.tgz#eebdb6e700d5fbdf3102c4abfb4ff92ef79ae9a5"
83+
integrity sha512-1XZ4/d/DEwnfM2zBMloXDwX+W7s76lGKQMgd8bwgPJZjjEztMJ7X0uopKAGwlQcjn242q+hsCBR6C+fSuI5kvg==
84+
dependencies:
85+
"@sentry/types" "7.117.0"
86+
"@sentry/utils" "7.117.0"
87+
88+
"@sentry/integrations@7.117.0":
89+
version "7.117.0"
90+
resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-7.117.0.tgz#4613dae3bc1d257c3c870461327fd4f70dbda229"
91+
integrity sha512-U3suSZysmU9EiQqg0ga5CxveAyNbi9IVdsapMDq5EQGNcVDvheXtULs+BOc11WYP3Kw2yWB38VDqLepfc/Fg2g==
92+
dependencies:
93+
"@sentry/core" "7.117.0"
94+
"@sentry/types" "7.117.0"
95+
"@sentry/utils" "7.117.0"
9696
localforage "^1.8.1"
9797

9898
"@sentry/node@^7.73.0":
99-
version "7.116.0"
100-
resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.116.0.tgz#199c304e203f35ca0e814fb7fc8a9b3f30b2c612"
101-
integrity sha512-HB/4TrJWbnu6swNzkid+MlwzLwY/D/klGt3R0aatgrgWPo2jJm6bSl4LUT39Cr2eg5I1gsREQtXE2mAlC6gm8w==
99+
version "7.117.0"
100+
resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.117.0.tgz#a548e7c2d395e01818814573b5f420eb061ebcf9"
101+
integrity sha512-0MWXdT8dv1MtQGF0aeB8LQTBTJS1L1Vz24+wvdXroR3/52mPYrPWlzuc7+Ew/Dlqdlb5LKVIlkuDSRWj8UKpTQ==
102102
dependencies:
103-
"@sentry-internal/tracing" "7.116.0"
104-
"@sentry/core" "7.116.0"
105-
"@sentry/integrations" "7.116.0"
106-
"@sentry/types" "7.116.0"
107-
"@sentry/utils" "7.116.0"
103+
"@sentry-internal/tracing" "7.117.0"
104+
"@sentry/core" "7.117.0"
105+
"@sentry/integrations" "7.117.0"
106+
"@sentry/types" "7.117.0"
107+
"@sentry/utils" "7.117.0"
108108

109-
"@sentry/types@7.116.0":
110-
version "7.116.0"
111-
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.116.0.tgz#0be3434e7e53c86db4993e668af1c3a65bfb7519"
112-
integrity sha512-QCCvG5QuQrwgKzV11lolNQPP2k67Q6HHD9vllZ/C4dkxkjoIym8Gy+1OgAN3wjsR0f/kG9o5iZyglgNpUVRapQ==
109+
"@sentry/types@7.117.0":
110+
version "7.117.0"
111+
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.117.0.tgz#c4d89aba487c05f4e5cbfa2f1c65180b536393b4"
112+
integrity sha512-5dtdulcUttc3F0Te7ekZmpSp/ebt/CA71ELx0uyqVGjWsSAINwskFD77sdcjqvZWek//WjiYX1+GRKlpJ1QqsA==
113113

114-
"@sentry/utils@7.116.0":
115-
version "7.116.0"
116-
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.116.0.tgz#f32463ab10f76f464274233a9df202e5357d17ff"
117-
integrity sha512-Vn9fcvwTq91wJvCd7WTMWozimqMi+dEZ3ie3EICELC2diONcN16ADFdzn65CQQbYwmUzRjN9EjDN2k41pKZWhQ==
114+
"@sentry/utils@7.117.0":
115+
version "7.117.0"
116+
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.117.0.tgz#ac367a6f623bd09440b39d947437009c0ffe52b2"
117+
integrity sha512-KkcLY8643SGBiDyPvMQOubBkwVX5IPknMHInc7jYC8pDVncGp7C65Wi506bCNPpKCWspUd/0VDNWOOen51/qKA==
118118
dependencies:
119-
"@sentry/types" "7.116.0"
119+
"@sentry/types" "7.117.0"
120120

121121
"@sindresorhus/is@^5.2.0":
122122
version "5.6.0"
@@ -1253,9 +1253,9 @@
12531253
integrity sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==
12541254

12551255
"@types/node@*":
1256-
version "20.14.2"
1257-
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.2.tgz#a5f4d2bcb4b6a87bffcaa717718c5a0f208f4a18"
1258-
integrity sha512-xyu6WAMVwv6AKFLB+e/7ySZVr/0zLCzOa7rSpq6jNwpqOrUbcACDWC+53d4n2QHOnDou0fbIsg8wZu/sxrnI4Q==
1256+
version "20.14.4"
1257+
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.4.tgz#3426db474378502882036d595ec9e79a9b17d1e6"
1258+
integrity sha512-1ChboN+57suCT2t/f8lwtPY/k3qTpuD/qnqQuYoBg6OQOcPyaw7PiZVdGpaZYAvhDDtqrt0oAaM8+oSu1xsUGw==
12591259
dependencies:
12601260
undici-types "~5.26.4"
12611261

@@ -1524,9 +1524,9 @@ balanced-match@^1.0.0:
15241524
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
15251525

15261526
bare-events@^2.2.0:
1527-
version "2.3.1"
1528-
resolved "https://registry.yarnpkg.com/bare-events/-/bare-events-2.3.1.tgz#5af2ee0be9578f81e3c1aa9bc3a6a2bcf22307ce"
1529-
integrity sha512-sJnSOTVESURZ61XgEleqmP255T6zTYwHPwE4r6SssIh0U9/uDvfpdoJYpVUerJJZH2fueO+CdT8ZT+OC/7aZDA==
1527+
version "2.4.2"
1528+
resolved "https://registry.yarnpkg.com/bare-events/-/bare-events-2.4.2.tgz#3140cca7a0e11d49b3edc5041ab560659fd8e1f8"
1529+
integrity sha512-qMKFd2qG/36aA4GwvKq8MxnPgCQAmBWmSyLWsJcbn8v03wvIPQ/hG1Ms8bPzndZxMDoHpxez5VOS+gC9Yi24/Q==
15301530

15311531
base64-js@^1.3.1:
15321532
version "1.5.1"
@@ -1740,9 +1740,9 @@ caniuse-api@^3.0.0:
17401740
lodash.uniq "^4.5.0"
17411741

17421742
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001599, caniuse-lite@^1.0.30001629:
1743-
version "1.0.30001632"
1744-
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001632.tgz#964207b7cba5851701afb4c8afaf1448db3884b6"
1745-
integrity sha512-udx3o7yHJfUxMLkGohMlVHCvFvWmirKh9JAH/d7WOLPetlH+LTL5cocMZ0t7oZx/mdlOWXti97xLZWc8uURRHg==
1743+
version "1.0.30001636"
1744+
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001636.tgz#b15f52d2bdb95fad32c2f53c0b68032b85188a78"
1745+
integrity sha512-bMg2vmr8XBsbL6Lr0UHXy/21m84FTxDLWn2FSqMd5PrlbMxwJlQnC2YWYxVgp66PZE+BBNF2jYQUBKCo1FDeZg==
17461746

17471747
caseless@~0.12.0:
17481748
version "0.12.0"
@@ -2269,9 +2269,9 @@ ee-first@1.1.1:
22692269
integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==
22702270

22712271
electron-to-chromium@^1.4.796:
2272-
version "1.4.796"
2273-
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.796.tgz#48dd6ff634b7f7df6313bd27aaa713f3af4a2b29"
2274-
integrity sha512-NglN/xprcM+SHD2XCli4oC6bWe6kHoytcyLKCWXmRL854F0qhPhaYgUswUsglnPxYaNQIg2uMY4BvaomIf3kLA==
2272+
version "1.4.803"
2273+
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.803.tgz#cf55808a5ee12e2a2778bbe8cdc941ef87c2093b"
2274+
integrity sha512-61H9mLzGOCLLVsnLiRzCbc63uldP0AniRYPV3hbGVtONA1pI7qSGILdbofR7A8TMbOypDocEAjH/e+9k1QIe3g==
22752275

22762276
emoji-regex@^10.0.0:
22772277
version "10.3.0"
@@ -2593,9 +2593,9 @@ for-own@^1.0.0:
25932593
for-in "^1.0.1"
25942594

25952595
foreground-child@^3.1.0:
2596-
version "3.1.1"
2597-
resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.1.1.tgz#1d173e776d75d2772fed08efe4a0de1ea1b12d0d"
2598-
integrity sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==
2596+
version "3.2.1"
2597+
resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.2.1.tgz#767004ccf3a5b30df39bed90718bab43fe0a59f7"
2598+
integrity sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==
25992599
dependencies:
26002600
cross-spawn "^7.0.0"
26012601
signal-exit "^4.0.1"
@@ -3754,9 +3754,9 @@ mv@~2:
37543754
rimraf "~2.4.0"
37553755

37563756
nan@^2.14.0:
3757-
version "2.19.0"
3758-
resolved "https://registry.yarnpkg.com/nan/-/nan-2.19.0.tgz#bb58122ad55a6c5bc973303908d5b16cfdd5a8c0"
3759-
integrity sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==
3757+
version "2.20.0"
3758+
resolved "https://registry.yarnpkg.com/nan/-/nan-2.20.0.tgz#08c5ea813dd54ed16e5bd6505bf42af4f7838ca3"
3759+
integrity sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw==
37603760

37613761
nanoid@^3.3.7:
37623762
version "3.3.7"

0 commit comments

Comments
 (0)