diff --git a/config/_default/params.toml b/config/_default/params.toml index b472d0c..980929a 100755 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -46,16 +46,11 @@ style = "solid" # available style: solid, outline [feedback] enable = true -title = "Was dit artikel nuttig?" -content = "Uw feedback verbeterd deze website." -positive_placeholder = "Wat deden we goed?" -negative_placeholder = "Wat deden we fout?" # Crisp Chat [crisp_chat] -crisp_website_id = "9aa449e1-9999-422a-938f-8567982eec6d" # replace this code with yours +crisp_website_id = "" enable = false -# Check this video tutorial to get your crisp website ID - https://www.youtube.com/watch?v=nW5UX6iVdFc # seo meta data for OpenGraph / Twitter Card [metadata] @@ -103,11 +98,11 @@ expire_days = 2 ############################# social site ######################## [[social]] -icon = "fab fa-github" # fontawesome icon : https://fontawesome.com/icons +icon = "fab fa-github" link = "" title = "github" [[social]] -icon = "fab fa-linkedin" # fontawesome icon : https://fontawesome.com/icons +icon = "fab fa-linkedin" link = "" title = "linkedin" diff --git a/i18n/en.yaml b/i18n/en.yaml index c5efdaf..ad4dd52 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -70,6 +70,19 @@ - id: option_project translation: Project +# Forms +- id: feedback_title + translation: Was this article helpful? + +- id: feedback_content + translation: Your feedback improves the website for other visitors. + +- id: feedback_positive_placeholder + translation: What was helpful about the article? + +- id: feedback_negative_placeholder + translation: How could we improve the article? + # Tooltips ## Webserver - id: tooltip_bouwbesluit diff --git a/i18n/nl.yaml b/i18n/nl.yaml index e34dcc1..c5a1a38 100644 --- a/i18n/nl.yaml +++ b/i18n/nl.yaml @@ -70,6 +70,19 @@ - id: option_project translation: Project +# Forms +- id: feedback_title + translation: Was dit artikel nuttig? + +- id: feedback_content + translation: Uw feedback verbeterd de site voor andere bezoekers. + +- id: feedback_positive_placeholder + translation: Wat vond u goed aan het artikel? + +- id: feedback_negative_placeholder + translation: Wat kunnen wij verbeteren? + # Tooltips ## Webserver - id: tooltip_bouwbesluit diff --git a/layouts/partials/components/feedback.html b/layouts/partials/components/feedback.html index 15dca60..6a185c3 100644 --- a/layouts/partials/components/feedback.html +++ b/layouts/partials/components/feedback.html @@ -3,8 +3,8 @@ {{ with site.Params.feedback }}
{{ .content | markdownify }}
+{{ i18n "feedback_content" | markdownify }}