{
    "label": "Classic Theme",
    "name": "classic",
    "version": "3.4.12",
    "author": "Edouard Richard <edouard.richard@sourcefabric.org>",
    "repository": {
        "type": "git",
        "url": "git@github.com:liveblog/lb-theme-classic.git"
    },
    "license": "AGPL-3.0",
    "extends": "angular",
    "devStyles": [
        "styles/reset.css",
        "styles/embed.css",
        "styles/dropdown.css",
        "styles/justifiedGallery.min.css",
        "styles/photoswipe.css",
        "styles/default-skin/default-skin.css",
        "https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500,500italic,700,700italic",
        "https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"
    ],
    "styles": [
        "https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500,500italic,700,700italic",
        "https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css",
        "dist/styles.min.css"
    ],
    "devScripts": [
        "https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.11/angular-animate.min.js",
        "https://cdnjs.cloudflare.com/ajax/libs/ngInfiniteScroll/1.2.2/ng-infinite-scroll.min.js",
        "vendors/angular-gettext.js",
        "vendors/jquery.justifiedGallery.min.js",
        "vendors/photoswipe.min.js",
        "vendors/photoswipe-ui-default.min.js",
        "vendors/jquery.photoswipe-global.js",
        "classic.js",
        "main.js"
    ],
    "scripts": [
        "https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.11/angular-animate.min.js",
        "https://cdnjs.cloudflare.com/ajax/libs/ngInfiniteScroll/1.2.2/ng-infinite-scroll.min.js",
        "dist/scripts.min.js"
    ],
    "options": [
        {
            "name": "language",
            "label": "Theme language",
            "type": "select",
            "options": [
                {
                    "value": "en",
                    "label": "English"
                },
                {
                    "value": "fi",
                    "label": "Finnish"
                },
                {
                    "value": "de",
                    "label": "Deutsch"
                },
                {
                    "value": "fr",
                    "label": "Français"
                },
                {
                    "value": "nl",
                    "label": "Nederlands"
                },
                {
                    "value": "no",
                    "label": "Norsk"
                },
                {
                    "value": "cs",
                    "label": "Čeština"
                },
                {
                    "value": "ro",
                    "label": "Română"
                },
                {
                    "value": "sr",
                    "label": "Srpski"
                },
                {
                    "value": "sr_CY",
                    "label": "Српски"
                }
            ],
            "default": "en"
        },
        {
            "name": "postsPerPage",
            "label": "Number of posts per page",
            "type": "number",
            "default": 20,
            "help": "Set the number of posts you want to see per page"
        },
        {
            "name": "postOrder",
            "label": "Default posts order of the timeline",
            "type": "select",
            "options": [
                {
                    "value": "editorial",
                    "label": "Editorial"
                },
                {
                    "value": "newest_first",
                    "label": "Newest first"
                },
                {
                    "value": "oldest_first",
                    "label": "Oldest first"
                }
            ],
            "default": "editorial"
        },
        {
            "name": "loadNewPostsManually",
            "label": "User needs to click a button to retrieve the new posts",
            "type": "checkbox",
            "default": true,
            "help": "Otherwise they will be loaded periodically"
        },
        {
            "name": "infinitScroll",
            "label": "Use infinite scroll to load more pages",
            "type": "checkbox",
            "default": true,
            "help": "if true, more pages are automatically loaded when the bottom of the page is reached. Otherwise a button is added at the bottom of the posts list"
        },
        {
            "name": "showImage",
            "label": "Show the blog image",
            "type": "checkbox",
            "default": true
        },
        {
            "name": "showTitle",
            "label": "Show the blog title",
            "type": "checkbox",
            "default": true
        },
        {
            "name": "showDescription",
            "label": "Show the blog description",
            "type": "checkbox",
            "default": true
        },
        {
            "name": "showAuthor",
            "label": "Show author",
            "type": "checkbox",
            "default": true,
            "help": "Show the author information on posts"
        },
        {
            "name": "showAuthorAvatar",
            "label": "Show author avatar",
            "type": "checkbox",
            "default": true,
            "dependsOn": {
                "showAuthor": true
            },
            "help": "Show the author avatar on posts"
        },
        {
            "name": "showTagsDropdown",
            "label": "Allow users filter content in embed",
            "type": "checkbox",
            "default": true,
            "help": "This will show or hide a dropdown to filter content by tags"
        },
        {
            "name": "authorNameFormat",
            "label": "Author name format",
            "type": "select",
            "default": "display_name",
            "dependsOn": {
                "showAuthor": true
            },
            "options": [
                {
                    "value": "display_name",
                    "label": "Full name"
                },
                {
                    "value": "byline",
                    "label": "Byline"
                },
                {
                    "value": "sign_off",
                    "label": "Sign off"
                }
            ],
            "help": "How to show the author name"
        },
        {
            "name": "outputChannel",
            "label": "Output Channel",
            "type": "checkbox",
            "default": false,
            "help": "Turn on to create the output channel automatically"
        },
        {
            "name": "outputChannelName",
            "label": "Output channel name",
            "type": "text",
            "dependsOn": {
                "outputChannel": true
            },
            "help": "Enter the output channel name"
        },
        {
            "name": "outputChannelTheme",
            "label": "Output channel theme",
            "type": "select",
            "default": "amp",
            "dependsOn": {
                "outputChannel": true
            },
            "options": [
                {
                    "value": "classic",
                    "label": "Classic Theme"
                },
                {
                    "value": "default",
                    "label": "Liveblog 3 Default SEO Theme"
                },
                {
                    "value": "amp",
                    "label": "Liveblog 3 AMP Theme"
                }
            ],
            "help": "Which theme should be used for output channel"
        },
        {
            "name": "authorNameLinksToEmail",
            "label": "The author name links to email",
            "type": "checkbox",
            "default": false,
            "dependsOn": {
                "showAuthor": true
            },
            "help": "A click on the author name will create a new email to be sent to the author."
        },
        {
            "name": "permalinkDelimiter",
            "label": "Permalink delimiter",
            "type": "select",
            "options": [
                {
                    "value": "?",
                    "label": "Query delimiter (?)"
                },
                {
                    "value": "#",
                    "label": " Fragment identifier delimiter (#)"
                }
            ],
            "default": "?",
            "help": "Sets the delimiter used to send the permalink. ex: permalinkHashMark=?, http://example.com/?..."
        },
        {
            "name": "canComment",
            "label": "Users can comment",
            "type": "checkbox",
            "default": false,
            "help": "If the users can comment on the blog"
        },
        {
            "name": "hasHighlights",
            "label": "Display highlights",
            "type": "checkbox",
            "default": false,
            "help": "If the users see the highlight button in the blog"
        },
        {
            "name": "blockSearchEngines",
            "label": "Block search engines",
            "type": "checkbox",
            "default": false,
            "help": "Block search engines from indexing my blogs"
        },
        {
            "name": "showGallery",
            "label": "Show slideshow gallery",
            "type": "checkbox",
            "default": false,
            "help": "If the users will see the slideshow gallery for multiple images posts"
        },
        {
            "name": "livestream",
            "label": "Pinned post behaviour",
            "type": "select",
            "options": [
                {
                    "value": false,
                    "label": "Show below menu bar"
                },
                {
                    "value": true,
                    "label": "Show above menu bar"
                }
            ],
            "default": false
        },
        {
            "name": "livestreamAutoplay",
            "label": "Autoplay for livestream videos",
            "type": "checkbox",
            "default": false,
            "help": "if the users will see the video autoplay for livestream"
        },
        {
            "name": "showSyndicatedAuthor",
            "label": "Show syndicated author",
            "type": "checkbox",
            "default": false,
            "help": "If the users will see the syndicated author"
        },
        {
            "name": "enableGdprConsent",
            "label": "Enable GDPR Consent",
            "type": "checkbox",
            "default": false,
            "help": "If users will see a placeholder on embeds until consent is given"
        },
        {
            "name": "gdprConsentText",
            "label": "GDPR Consent Placeholder Text",
            "type": "text",
            "dependsOn": {
                "enableGdprConsent": true
            },
            "default": "Please click <b>Activate</b> to see the social media posts. <br />Learn more about our data protection policy on this <a target='_blank' href='https://liveblog.pro/en/termsofuse/'>page</a><br>",
            "help": "This text will be shown in the GDPR placeholder"
        },
        {
            "name": "gdprConsentDomains",
            "label": "Embed from Domains Requiring Consent",
            "type": "text",
            "dependsOn": {
                "enableGdprConsent": true
            },
            "default": "twitter.com, facebook.com, instagram.com, youtube.com",
            "help": "Domains separated by comma that will require user's consent to display embeds"
        }
    ]
}