Compare commits

...

21 Commits

Author SHA1 Message Date
Mark Dumay
96b2ed2f4c Merge pull request #1219 from gethinode/develop
Update CookieYes module
2024-09-25 15:03:22 +02:00
Mark Dumay
d6d39ad946 Merge branch 'main' into develop 2024-09-25 14:38:42 +02:00
Mark Dumay
f8db72ebad Update CookieYes module 2024-09-25 14:37:44 +02:00
Mark Dumay
9a8ee943a9 Merge pull request #1218 from gethinode/develop
Fix handling of critical module styles
2024-09-25 14:37:28 +02:00
Mark Dumay
520c5ba43b Merge branch 'main' into develop 2024-09-25 14:25:11 +02:00
Mark Dumay
4205c07993 Fix handling of critical module styles 2024-09-25 14:24:40 +02:00
Mark Dumay
7cd1dc3c27 Merge pull request #1217 from gethinode/develop
Test style adjustments of CookieYes content
2024-09-25 08:46:48 +02:00
Mark Dumay
d96ef8af35 Merge branch 'main' into develop 2024-09-25 08:41:33 +02:00
Mark Dumay
2defd83f0f Test style adjustments of CookieYes content 2024-09-25 08:41:09 +02:00
Mark Dumay
ba10e2115a Merge pull request #1216 from gethinode/develop
Test style adjustments of CookieYes content
2024-09-25 08:35:37 +02:00
Mark Dumay
1d4a5d960f Merge branch 'main' into develop 2024-09-25 08:30:38 +02:00
Mark Dumay
ec492c005f Update build stats 2024-09-25 08:29:51 +02:00
Mark Dumay
624d57c374 Reset original footer 2024-09-25 08:29:41 +02:00
Mark Dumay
e7dda56408 Test style adjustments of CookieYes content 2024-09-25 08:29:24 +02:00
Mark Dumay
c3e135de9e Merge pull request #1215 from gethinode/develop
Update dependencies
2024-09-24 17:15:00 +02:00
Mark Dumay
b84fc502b5 Merge branch 'main' into develop 2024-09-24 17:04:38 +02:00
Mark Dumay
b18b662cef Update dependencies 2024-09-24 17:03:54 +02:00
Mark Dumay
3070e4abac Merge pull request #1214 from gethinode/develop
Include warning when file shortcode references invalid file
2024-09-24 16:17:09 +02:00
Mark Dumay
052033fe42 Merge branch 'main' into develop 2024-09-24 16:10:06 +02:00
Mark Dumay
c37bb67c09 Bump package release 2024-09-24 16:09:32 +02:00
Mark Dumay
0728a148b8 Include warning when file shortcode references invalid file 2024-09-24 16:08:32 +02:00
14 changed files with 135 additions and 12 deletions

View File

@@ -24,6 +24,7 @@ const purgecss = require('@fullhuman/postcss-purgecss')({
'./assets/scss/components/_video.scss',
'./assets/scss/theme/fonts.scss',
'./assets/scss/theme/theme.scss',
'./_vendor/github.com/gethinode/mod-cookieyes/v2/assets/scss/cookieyes.scss',
'./_vendor/github.com/gethinode/mod-flexsearch/v2/assets/scss/modules/flexsearch/flexsearch.scss',
'./_vendor/github.com/gethinode/mod-katex/dist/katex.scss',
'./_vendor/github.com/gethinode/mod-leaflet/dist/leaflet.scss',

View File

@@ -24,6 +24,7 @@ const purgecss = require('@fullhuman/postcss-purgecss')({
'./_vendor/github.com/gethinode/hinode/assets/scss/components/_video.scss',
'./_vendor/github.com/gethinode/hinode/assets/scss/theme/fonts.scss',
'./_vendor/github.com/gethinode/hinode/assets/scss/theme/theme.scss',
'./exampleSite/_vendor/github.com/gethinode/mod-cookieyes/v2/assets/scss/cookieyes.scss',
'./_vendor/github.com/gethinode/mod-flexsearch/v2/assets/scss/modules/flexsearch/flexsearch.scss',
'./_vendor/github.com/gethinode/mod-katex/dist/katex.scss',
'./_vendor/github.com/gethinode/mod-leaflet/dist/leaflet.scss',

View File

@@ -0,0 +1,44 @@
---
title: Cookie Policy
description: Cookie policy of gethinode.com
date: 2024-09-19
layout: docs
---
<!-- markdownlint-disable MD036 -->
*Effective Date 19-Sep-2024*
## What are cookies?
This Cookie Policy explains what cookies are and how we use them, the types of cookies we use i.e, the information we collect using cookies and how that information is used, and how to manage the cookie settings.
Cookies are small text files that are used to store small pieces of information. They are stored on your device when the website is loaded on your browser. These cookies help us make the website function properly, make it more secure, provide better user experience, and understand how the website performs and to analyze what works and where it needs improvement.
## How do we use cookies?
As most of the online services, our website uses first-party and third-party cookies for several purposes. First-party cookies are mostly necessary for the website to function the right way, and they do not collect any of your personally identifiable data.
The third-party cookies used on our website are mainly for understanding how the website performs, how you interact with our website, keeping our services secure, providing advertisements that are relevant to you, and all in all providing you with a better and improved user experience and help speed up your future interactions with our website.
## Types of Cookies we use
{{< cky-audit >}}
## Manage cookie preferences
{{< cky-banner >}}
You can change your cookie preferences any time by clicking the above button. This will let you revisit the cookie consent banner and change your preferences or withdraw your consent right away.
In addition to this, different browsers provide different methods to block and delete cookies used by websites. You can change the settings of your browser to block/delete the cookies. Listed below are the links to the support documents on how to manage and delete cookies from the major web browsers.
Chrome: https://support.google.com/accounts/answer/32050
Safari: https://support.apple.com/en-in/guide/safari/sfri11471/mac
Firefox: https://support.mozilla.org/en-US/kb/clear-cookies-and-site-data-firefox?redirectslug=delete-cookies-remove-info-websites-stored&redirectlocale=en-US
Internet Explorer: https://support.microsoft.com/en-us/topic/how-to-delete-cookie-files-in-internet-explorer-bca9446f-d873-78de-77ba-d42645fa52fc
If you are using any other web browser, please visit your browsers official support documents.
*Cookie Policy generated by {{< link "https://www.cookieyes.com" >}}CookieYes - Cookie Policy Generator{{< /link >}}.*

View File

@@ -0,0 +1,47 @@
---
title: Privacy Policy
description: Privacy policy of gethinode.com
date: 2024-09-19
layout: docs
---
<!-- markdownlint-disable MD036 -->
*Effective Date 19-Sep-2024*
This Privacy Policy describes the policies of gethinode.com on the collection, use and disclosure of your information that we collect when you use our website (https://gethinode.com, referred to as the “Service”). By accessing or using the Service, you are consenting to the collection, use and disclosure of your information in accordance with this Privacy Policy. If you do not consent to the same, please do not access or use the Service.
We may modify this Privacy Policy at any time without any prior notice to you and will post the revised Privacy Policy on the Service. The revised Policy will be effective 180 days from when the revised Policy is posted in the Service and your continued access or use of the Service after such time will constitute your acceptance of the revised Privacy Policy. We therefore recommend that you periodically review this page.
## How we share your information
We will not transfer your personal information to any third party without seeking your consent, except in limited circumstances as described
below:
- Analytics
We require such third partys to use the personal information we transfer to them only for the purpose for which it was transferred and not to retain it for longer than is required for fulfilling the said purpose.
We may also disclose your personal information for the following: (1) to comply with applicable law, regulation, court order or other legal process; (2) to enforce your agreements with us, including this Privacy Policy; or (3) to respond to claims that your use of the Service violates any third-party rights. If the Service or our company is merged or acquired with another company, your information will be one of the assets that is transferred to the new owner.
## Your rights
Depending on the law that applies, you may have a right to access and rectify or erase your personal data or receive a copy of your personal data, restrict or object to the active processing of your data, ask us to share (port) your personal information to another entity,withdraw any consent you provided to us to process your data, a right to lodge a complaint with a statutory authority and such other rights as may be relevant under applicable laws. <!-- To exercise these rights, you can write to us at privacy@gethinode.com. We will respond to your request in accordance with applicable law. -->
Do note that if you do not allow us to collect or process the required personal information or withdraw the consent to process the same for the required purposes, you may not be able to access or use the services for which your information was sought.
## Cookies etc.
To learn more about how we use these and your choices in relation to these tracking technologies, please refer to our {{< link "cookies" >}}Cookie Policy/Settings{{< /link >}}.
## Security
The security of your information is important to us and we will use reasonable security measures to prevent the loss, misuse or unauthorized alteration of your information under our control. However, given the inherent risks, we cannot guarantee absolute security and consequently, we cannot ensure or warrant the security of any information you transmit to us and you do so at your own risk.
## Third party links & use of your information
Our Service may contain links to other websites that are not operated by us. This Privacy Policy does not address the privacy policy and other practices of any third parties, including any third party operating any website or service that may be accessible via a link on the Service. We strongly advise you to review the privacy policy of every site you visit. We have no control over and assume no responsibility for the content, privacy policies or practices of any third party sites or services.
<!-- ## Grievance / Data Protection Officer
If you have any queries or concerns about the processing of your information that is available with us, you may email us at privacy@gethinode.com. We will address your concerns in accordance with applicable law. -->
*Privacy Policy generated with {{< link "https://www.cookieyes.com" >}}CookieYes{{< /link >}}.*

View File

@@ -3,5 +3,5 @@ module github.com/gethinode/hinode/exampleSite
go 1.19
require (
github.com/gethinode/mod-cookieyes/v2 v2.0.3 // indirect
github.com/gethinode/mod-cookieyes/v2 v2.1.2 // indirect
)

View File

@@ -1,5 +1 @@
github.com/gethinode/mod-cookieyes v1.0.0 h1:KTkK67uugji9pzYJJalvNhdECHgG1DzPtyeaYL0Xm/0=
github.com/gethinode/mod-cookieyes v1.0.0/go.mod h1:VrBUKm5apop6KIb+R8eRqvlf3AAPnv5aMajL0RorIjY=
github.com/gethinode/mod-cookieyes v1.0.2 h1:WL9sjpYKjkV+jRKIrm6H82UpthQjFksvKGptW6HD/QU=
github.com/gethinode/mod-cookieyes v1.0.2/go.mod h1:VrBUKm5apop6KIb+R8eRqvlf3AAPnv5aMajL0RorIjY=
github.com/gethinode/mod-cookieyes/v2 v2.0.3/go.mod h1:tULb7D7CoTycGUyL7ryqHJKaX11XuL2SN+XwP7/DI0Y=

View File

@@ -3,4 +3,7 @@ github.com/gethinode/hinode v0.22.5/go.mod h1:hsskrlBRnTbpCjrDtGbK8C1VYGML7ezHtC
github.com/gethinode/mod-cookieyes v1.0.2 h1:WL9sjpYKjkV+jRKIrm6H82UpthQjFksvKGptW6HD/QU=
github.com/gethinode/mod-cookieyes v1.0.2/go.mod h1:VrBUKm5apop6KIb+R8eRqvlf3AAPnv5aMajL0RorIjY=
github.com/gethinode/mod-cookieyes/v2 v2.0.3 h1:o5PAAOjx8baRcSkhTAQuZ+hX9cK8oWjeC3sYxt1DT2c=
github.com/gethinode/mod-cookieyes/v2 v2.0.3/go.mod h1:tULb7D7CoTycGUyL7ryqHJKaX11XuL2SN+XwP7/DI0Y=
github.com/gethinode/mod-cookieyes/v2 v2.0.4 h1:QgYSD3S23351e7xEeQb+Mon+e+I6RbnnrTyvpxBST1A=
github.com/gethinode/mod-cookieyes/v2 v2.0.4/go.mod h1:tULb7D7CoTycGUyL7ryqHJKaX11XuL2SN+XwP7/DI0Y=
github.com/gethinode/mod-cookieyes/v2 v2.1.2 h1:hzGCbRbpNAVkLr+jFWpAQaXHG0lgK+KgIpaZYsI1J+U=
github.com/gethinode/mod-cookieyes/v2 v2.1.2/go.mod h1:tULb7D7CoTycGUyL7ryqHJKaX11XuL2SN+XwP7/DI0Y=

View File

@@ -142,7 +142,9 @@
"carousel-item",
"checkbox",
"chroma",
"cky-audit-table-element",
"cky-banner-element",
"cky-cookie-audit-table",
"col",
"col-10",
"col-12",
@@ -420,6 +422,7 @@
"tab-pane",
"table",
"table-responsive",
"table-striped",
"tag-link",
"text-bg-body",
"text-bg-body-tertiary",
@@ -516,6 +519,7 @@
"collapse",
"collapse-1",
"command-prompt",
"cookies-etc",
"custom-activity",
"data-tables",
"docs",
@@ -561,6 +565,8 @@
"formule-katex",
"groupe-de-boutons",
"groupe-de-cartes",
"how-do-we-use-cookies",
"how-we-share-your-information",
"icon",
"image",
"imagekitio",
@@ -573,6 +579,7 @@
"lien",
"link",
"lottie-animation-0",
"manage-cookie-preferences",
"map",
"mark",
"nav",
@@ -597,10 +604,12 @@
"publication",
"release",
"réduire",
"security",
"spinner",
"sub",
"sup",
"table",
"third-party-links--use-of-your-information",
"timeline",
"toast",
"toast-container",
@@ -610,8 +619,11 @@
"toast-message-email-4",
"toc-collapse",
"tooltip",
"types-of-cookies-we-use",
"video",
"vimeo",
"what-are-cookies",
"your-rights",
"youtube"
]
}

View File

@@ -0,0 +1,15 @@
<footer class="container-fluid footer text-center p-3">
<div class="container-xxl text-center">
<small>
{{- $copyright := printf "%s © %s %s %s." (T "copyright") (dateFormat "2006" now) .Site.Title (T "rights") }}
{{ cond (gt (len .Site.Copyright) 0) .Site.Copyright $copyright }}
{{ .Site.Params.footer.license | safeHTML }} |
{{ partial "assets/link.html" (dict "destination" "/en/privacy" "text" (T "privacy") "class" "link-bg-footer" "page" .Page) }} |
{{ partial "assets/link.html" (dict "destination" "/en/cookies" "text" (T "cookies") "class" "link-bg-footer" "page" .Page) }} |
{{ if .Site.Params.main.endorse }}
{{ $link := partial "assets/link.html" (dict "destination" (index site.Params.links "hinode") "text" "Hinode" "class" "link-bg-footer" "page" .Page) }}
{{ T "poweredBy" $link | safeHTML }}
{{ end }}
</small>
</div>
</footer>

View File

@@ -4,7 +4,6 @@
{{- $copyright := printf "%s © %s %s %s." (T "copyright") (dateFormat "2006" now) .Site.Title (T "rights") }}
{{ cond (gt (len .Site.Copyright) 0) .Site.Copyright $copyright }}
{{ .Site.Params.footer.license | safeHTML }} |
<a class="cky-banner-element link-bg-footer">{{ T "cookieSettings" }}</a> |
{{ if .Site.Params.main.endorse }}
{{ $link := partial "assets/link.html" (dict "destination" (index site.Params.links "hinode") "text" "Hinode" "class" "link-bg-footer" "page" .Page) }}
{{ T "poweredBy" $link | safeHTML }}

View File

@@ -21,9 +21,9 @@
{{ if $core }}
{{- if reflect.IsSlice $config.excludeSCSS -}}
{{- $modules = complement $config.excludeSCSS (or $config.core slice) -}}
{{- $modules = complement $config.excludeSCSS (append $config.core $config.critical) -}}
{{ else }}
{{- $modules = $config.core -}}
{{- $modules = append $config.core $config.critical -}}
{{ end }}
{{- end -}}

View File

@@ -39,6 +39,11 @@
{{ if isset .Params "full" }}{{ $full = partial "utilities/CastBool.html" (.Get "full") }}{{ end -}}
{{- $class := .Get "class" | default "" -}}
{{ if not (fileExists $file) }}
{{ warnf "Cannot find file: '%q'. See %s" $file $.Position }}
{{ $error = true }}
{{ end }}
<!-- Main code -->
{{- if not $error -}}
{{- /* Force-check if the file exists */ -}}

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@gethinode/hinode",
"version": "0.27.0-beta",
"version": "0.27.0-beta2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@gethinode/hinode",
"version": "0.27.0-beta",
"version": "0.27.0-beta2",
"license": "MIT",
"dependencies": {
"@fullhuman/postcss-purgecss": "^6.0.0",

View File

@@ -1,6 +1,6 @@
{
"name": "@gethinode/hinode",
"version": "0.27.0-beta",
"version": "0.27.0-beta2",
"description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator",
"keywords": [
"hugo",