From a1960fbca32a8432d4a381240682f2c93adfa705 Mon Sep 17 00:00:00 2001 From: Urja Acharya Date: Thu, 28 May 2020 17:08:54 -0700 Subject: config is now json --- exampleSite/config.json | 28 ++++++++++++++++++++++++++++ exampleSite/config.toml | 27 --------------------------- 2 files changed, 28 insertions(+), 27 deletions(-) create mode 100644 exampleSite/config.json delete mode 100644 exampleSite/config.toml diff --git a/exampleSite/config.json b/exampleSite/config.json new file mode 100644 index 0000000..6db7329 --- /dev/null +++ b/exampleSite/config.json @@ -0,0 +1,28 @@ +{ + "baseURL": "https://redgood.netlify.app/", + "languageCode": "en-us", + "title": "demo of redgood", + "theme": "redgood", + "params": { + "author": "Urja Acharya", + "description": "a hugo theme made by Urja Acharya", + "theme": { + "dateFormat": "2006-01-02", + "copyrightInFooter": false, + "footerText": "customizable short *markdown* enabled text" + }, + "about": { + "profileImage": "https://images.pexels.com/photos/1274922/pexels-photo-1274922.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940", + "h": 650, + "w": 940, + "narrative": "this website is a demo for the redgood theme made by Urja Acharya. this section is customizable and can be used for a short inroduction by modifying `params.about.narrative` in `config`. markdown can be used in **this** section." + }, + "social": { + "email": "#", + "linkedin": "#", + "fb": "#", + "twitter": "#", + "github": "#" + } + } +} diff --git a/exampleSite/config.toml b/exampleSite/config.toml deleted file mode 100644 index 8d32bfd..0000000 --- a/exampleSite/config.toml +++ /dev/null @@ -1,27 +0,0 @@ -baseURL = "http://example.org/" -languageCode = "en-us" -title = "redgood" -theme = "redgood" - -[markup.goldmark.renderer] -unsafe = true - -[params] -author = "Urja Acharya" -description = "redgood is a clean minimal javascript-less theme for blogs" - -[params.theme] -dateFormat = "2006-01-02" -copyrightInFooter = true -footerText = "Short [text](#) **in** *footer*" - -[params.about] -profileImage = "https://images.pexels.com/photos/1274922/pexels-photo-1274922.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940" -narrative = "I am dshfsdj flaksdjf lsjfasl dkfjlsdkfj lasdkfj. lasdkfj asdlkjf adlskf jlsakdf jasldkjfa **sdjfosdafjl** aksdfjsdfjk alskdjf. oasdif jioasdfj asdiof *jasdlkfj* asdf asdfu asdijfl kaejkljrwlk jwlkejrwejr ssad." - -[params.social] -email = "#" -linkedin = "#" -fb = "#" -twitter = "#" -github = "#" -- cgit v1.2.3