From 79232b067b02b79cc1f4688b639c665206335a05 Mon Sep 17 00:00:00 2001 From: GodoFredo Date: Tue, 29 Jan 2019 14:43:55 -0500 Subject: [PATCH] updating the documentation and restoring the deleted languages --- README.md | 97 +++++++++++++++++++++++++++-------------- documentation/labs.jpg | Bin 37467 -> 20095 bytes locales/de.json | 45 +++++++++++++++++++ locales/fr-CA.json | 45 +++++++++++++++++++ locales/tr.json | 45 +++++++++++++++++++ 5 files changed, 200 insertions(+), 32 deletions(-) create mode 100644 locales/de.json create mode 100644 locales/fr-CA.json create mode 100644 locales/tr.json diff --git a/README.md b/README.md index 50b7e926..ae933a09 100644 --- a/README.md +++ b/README.md @@ -55,25 +55,38 @@ You can see Simply in action on my Page [Demo](https://goo.gl/V7moIY) ## Navigation -- [Ghost Settings](#ghost-settings) -- [Simply Settings](#simply-settings) - - [Social Media Links](#social-media-links) - - [YouTube Subscribe Button](#youtube-subscribe-button) - - [Instagram](#instagram) - - [Comments](#comments) - - [Search](#search) -- [Theme Translation](#theme-translation) -- [AMP](#amp) -- [Home Page](#home-page) -- [Post Format](#post-format) -- [Tags Page](#tags-page) -- [Newsletter Page](#newsletter-page) -- [Podcast Page](#podcast-page) -- [Ads](#ads) -- [Change Theme Color](#change-theme-color) -- [Tracking Google Tag Mananger](#tracking-google-tag-mananger) -- [Warnig Note Success](#warning---note---success) -- [PrismJS code syntax](#prismjs-code-syntax) +- [Simply free theme for Ghost](#simply-free-theme-for-ghost) + - [🙏 Please, help me with a small donation here or PayPal. It'll help motivate me to update the theme with many improvements](#-please-help-me-with-a-small-donation-here-or-paypal-itll-help-motivate-me-to-update-the-theme-with-many-improvements) + - [Demo](#demo) + - [Featured](#featured) + - [Navigation](#navigation) + - [Web Browser Support for Simply](#web-browser-support-for-simply) + - [Ghost Settings](#ghost-settings) + - [Simply Settings](#simply-settings) + - [Social Media Links](#social-media-links) + - [YouTube Subscribe Button](#youtube-subscribe-button) + - [Instagram](#instagram) + - [Comments](#comments) + - [Search](#search) + - [Setup a Custom integration](#setup-a-custom-integration) + - [Theme Translation](#theme-translation) + - [AMP](#amp) + - [Home Page](#home-page) + - [Post Format](#post-format) + - [Tags Page](#tags-page) + - [Newsletter Page](#newsletter-page) + - [Podcast Page](#podcast-page) + - [Ads](#ads) + - [Change Theme Color](#change-theme-color) + - [Tracking Google Tag Mananger](#tracking-google-tag-mananger) + - [Settings Google Tag Mananger](#settings-google-tag-mananger) + - [First we'll create triggers](#first-well-create-triggers) + - [Second we'll create Tag](#second-well-create-tag) + - [Third Insert code](#third-insert-code) + - [Warning - Note - Success](#warning---note---success) + - [PrismJS code syntax](#prismjs-code-syntax) + - [Credits](#credits) + - [Copyright & License](#copyright--license) ## Web Browser Support for Simply @@ -81,7 +94,7 @@ Simply supports the following web [browsers](http://caniuse.com/#search=flexbox) ## Ghost Settings -> Enable all checkboxes on the labs page in your Ghost admin panel. +> Enable Subscribers checkbox on the labs page in your Ghost admin panel. ![ghost labs](./documentation/labs.jpg) @@ -120,6 +133,22 @@ First, you will need to get your account `userName` and `userId` and `accessToke > The default search engine will only search the titles of the post +#### Setup a Custom integration + +1. Go in your Ghost's dashboard -> Integrations -> Add custom integration +2. Set a name: GodoFredo Themes Search +3. Get the Content API Key and replace the demo key with this one +4. Get the admin domain. This will be different in some cases + +```html + +``` + The search engine that includes simply is very powerful, supports almost all languages and you can customize to your liking. Read the following link to learn more about the search engine [Read More](https://github.com/HauntedThemes/ghost-search) @@ -173,14 +202,16 @@ var facebookLocaleComments = 'en_US'; /* 05. Search Settings */ var searchSettings = { + key: 'ADD_YOUR_API_KEY', + host: 'https://demo.ghost.io', + /* This is optional */ options: { keys: [ 'title', ], limit: 10, - threshold: -3500, - allowTypo: false, }, + /* This is optional to perform filtering of the ghost api */ api: { resource: 'posts', parameters: { @@ -437,34 +468,34 @@ To change the color of the Simply theme select one of the theme styles below and ```html - + - + - + - + - + - + - + - + - + - + ``` > If you don't like the colors above, then play with your favorite colors. Just change the colors in the following code @@ -473,9 +504,11 @@ To change the color of the Simply theme select one of the theme styles below and