Skip to content

Instantly share code, notes, and snippets.

@ericalli
Last active Apr 20, 2020
Embed
What would you like to do?
Configuration options for the DocuHub Ghost theme
<script>
// Custom configuration for DocuHub theme
var themeConfig = {
// The API key for your Ghost blog
ghostSearchKey: 'xxxx',
// Include article body content in search index
includeBodyInSearch: true,
// Change the placeholder text for the search field
searchHint: 'Enter your search terms...',
// Your disqus username (leave blank for no comments)
disqusUsername: 'docuhub-theme',
// URL for GitHub badge (leave blank to remove badge)
githubURL: 'https://github.com/ericalli',
// Show switch on your site’s navigation allowing users to turn on dark mode
showDarkModeSwitch: true,
// Show published with Ghost on your site’s sidebar
showPublishedWith: true,
// Show table of contents for posts
showTableOfContents: true,
// Hide the default Sign In and Sign Out links (when Membership is enabled)
showMembershipNavLinks: true,
// Choose which posts appear in your sidebar
postVisibility: ['public', 'members', 'paid'],
// Override the default features for each membership plan
planFeatures: {
free: [
'Access to subscriber posts',
'Support independent publishing',
'Simple, secure card payment'
],
monthly: [
'Full access to all private posts',
'Regular updates with new content',
'Support independent publishing',
'Simple, secure card payment'
],
yearly: [
'Full access to all private posts',
'Regular updates with new content',
'Support independent publishing',
'Simple, secure card payment',
'One easy payment instead of 12!'
]
}
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment