From 645d73e804a262d44b75d9ceeea76cd6ecb70dc6 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 2 Feb 2017 12:01:08 +0100 Subject: [PATCH] Add Highlighting, fix JSON --- cmd/holiday-api/index.html | 43 +++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 17 deletions(-) diff --git a/cmd/holiday-api/index.html b/cmd/holiday-api/index.html index f1c6643..690def2 100644 --- a/cmd/holiday-api/index.html +++ b/cmd/holiday-api/index.html @@ -12,6 +12,8 @@ integrity="sha256-ZT4HPpdCOt2lvDkXokHuhJfdOKSPFLzeAJik5U/Q+l4=" crossorigin="anonymous" /> + @@ -62,22 +64,22 @@ Each entry consists of four keys: ```json [ - { - name: "New Year's Day", - localized_name: { - de: "Neujahrstag" - }, - date: "2017-01-01", - parsed_date: "2017-01-01T00:00:00Z" - }, - { - name: "Good Friday", - localized_name: { - de: "Karfreitag" - }, - date: "2017-04-14", - parsed_date: "2017-04-14T00:00:00Z" - } + { + "name": "New Year's Day", + "localized_name": { + "de": "Neujahrstag" + }, + "date": "2017-01-01", + "parsed_date": "2017-01-01T00:00:00Z" + }, + { + "name": "Good Friday", + "localized_name": { + "de": "Karfreitag" + }, + "date": "2017-04-14", + "parsed_date": "2017-04-14T00:00:00Z" + } ] ``` ## Contributions @@ -96,8 +98,15 @@ If you are fluent in writing Go and know about holidays of a country not yet ava integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"> +