From 16a3832b480e911a4e34b7f2ee3b99fb96e8fa7e Mon Sep 17 00:00:00 2001 From: teuserer Date: Mon, 1 Apr 2024 22:09:22 +0200 Subject: [PATCH 1/2] restore event link --- _plugins/events_to_ics.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_plugins/events_to_ics.rb b/_plugins/events_to_ics.rb index 9757b60..6a417a1 100644 --- a/_plugins/events_to_ics.rb +++ b/_plugins/events_to_ics.rb @@ -27,7 +27,7 @@ def generate(site) # Render Markdown content to plain text markdown_parser = Redcarpet::Markdown.new(Redcarpet::Render::StripDown) - description = markdown_parser.render(content) + description = markdown_parser.render(content) + "\nMore info at #{site.config['url']}#{event.url}" # Create new event and set its properties ical_event = Icalendar::Event.new From 8dff843b1d80d5307e90e066d299a78348e7f49b Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 11 Apr 2024 01:27:38 +0200 Subject: [PATCH 2/2] Update _plugins/events_to_ics.rb --- _plugins/events_to_ics.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_plugins/events_to_ics.rb b/_plugins/events_to_ics.rb index 6a417a1..4b930e9 100644 --- a/_plugins/events_to_ics.rb +++ b/_plugins/events_to_ics.rb @@ -27,7 +27,7 @@ def generate(site) # Render Markdown content to plain text markdown_parser = Redcarpet::Markdown.new(Redcarpet::Render::StripDown) - description = markdown_parser.render(content) + "\nMore info at #{site.config['url']}#{event.url}" + description = markdown_parser.render(content) + "\nMehr Infos unter #{site.config['url']}#{event.url}" # Create new event and set its properties ical_event = Icalendar::Event.new