Skip to content

Instantly share code, notes, and snippets.

@ericalli
Last active April 20, 2020 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericalli/ac9275dbb80c87a346352e69de9fd428 to your computer and use it in GitHub Desktop.
Save ericalli/ac9275dbb80c87a346352e69de9fd428 to your computer and use it in GitHub Desktop.
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