Ghost
Mapache free theme forMinimalist Material Design and Elegant theme.
Hi. I created this theme for ghost especially for you. It is available for free so you can use on your site. It is strictly forbidden to use it for commercial use. If you have any suggestions to improve the theme, you can send me a tweet @GodoFredoNinja
Paypal. It'll help motivate me to update the theme with many improvements
If you have a β€ heart and value my work. π Please, help me with a small donation onDemo
You can see mapache in action on my Page Demo
Featured
- Support for different languages (en - es - de - ko - fr)
- Responsive layout
- Magazine style home page or personal blog style
- 404 error page (emoticons β last 6 articles)
- Page subscribe
- Pagination Infinite Scroll
- Instagram Feed in footer of Post
- Optional menu at the footer of the page
- AMP Template (Accelerated Mobile Pages)
- Follow on Social Media
- Related Articles (6 articles)
- Template - Post single
- Template - Post full header
- Template - Video post format
- Template - Image post format
- Template - Image single post format
- Template - not image post => featured image is not displayed
- 5 featured articles in the sidebar (home - tag - author)
- 5 lates articles in the sidebar (post)
- Tag Cloud in the sidebar
- Previous and next articles buttons
- Support for comments (Facebook or Disqus)
- Support for counter comments (Facebook or Disqus)
- Buttons to share the article (Facebook - Twitter - Reddit - Linkedin - Pinterest - Whatsapp)
- Sticky content in the sidebar
- YouTube, Vimeo, kickstarter, Facebook, dailymotion => Responsive
- Lazy image loading for better performance only in backgrounds
- Code syntax Prismjs Supported all syntax.
Web Browser Support for mapache
mapache supports the following web browsers
Ghost settings
- Enable the following checkboxes on the labs page in your Ghost admin panel.
Mapache settings
β Copy the below script to Code Injection -> Blog Footer
<script>
/*====================================================
MAPACHE SETTINGS & GLOBAL VARIABLES
====================================================*/
/* 01. Social Media Follow - Optional
* facebook and twitter is not necessary because I use them from the ghost settings
* add only what you need
*/
var followSocialMedia = {
'google': 'https://...',
'youtube': 'https://...',
'instagram': 'https://...',
'snapchat': 'https://...',
'dribbble': 'https://...',
'github': 'https://...',
'linkedin':'https://...',
'spotify':'https://...',
'codepen':'https://...',
'behance':'https://...',
'flickr':'https://...',
'pinterest':'https://...',
'telegram':'https://...',
'discord':'https://...',
'rss':'https://...',
};
/* 02. Instagram - Optional
* It will only be shown in the footer of the posts.
*/
var instagramToken = 'Token_app_instagram';
var instagramUserId = 'User_ID';
var instagramUserName = 'User_Name';
/* 03. Footer Menu - Optional */
var footerLinks = {
'MENU 1': 'https://example.com',
'MENU 2': 'https://example.com',
'MENU 3': 'https://example.com',
};
/* 04. Comments (Disqus or Facebook) */
/* Disqus Comment Settings */
var disqusShortName = 'YOUR_DISQUS_SHORTCUT_HERE';
/* Facebook Comments Settings
* Changing the Language (en_US - es_ES - es_LA) more information link below
* https://developers.facebook.com/docs/plugins/comments/#language
*/
var facebookLocaleComments = 'en_US';
/* 05. Twitter Widget Settings - optional */
var twitterUserName = 'YOUR_TWITTER_USER_NAME';
var twitterNumber = 2;
/* The following configuration is optional
* only if you have activated the personal blog design
*====================================================*/
/* 06. Title for home Page */
var homeTitlee = '... your title ...';
/* 07. Home BTN <SUBSCRIBE> */
var homeBtnTitlee = 'Name BTN';
var homeBtnURLe = 'https://...';
</script>
Publication Language
Mapache supports:
en
β English default languagees
β EspaΓ±olde
β German - By Frederik Niedernolteko
β Korean - By SHGroupfr
β French - By Letroll
if you want to have in another language you just have to copy locales>en.json
and rename the file then translate to your favorite language:
Just enter the language/locale tag of the files to use (e.g.: fr.json
for French, zh.json
for Chinese, ja.json
for Japanese)
Post Format
Mapache has different templates for post formats. I will mention some of them.
-
Post Full Header β It will have the full title of the post and will include the sidebar.
-
Post Image β This template will have a very large featured image and the header background will also be transparent and include the sidebar. optional you can add the internal tag
#image
in your post so that you can see the image icon in the instories. -
Post Image Single β It's similar to post image. The difference is that you won't have a sidebar.
-
Post Video β the first video found will move to the top of the page. you can add the internal tag
#video
in your post so that you can see the image icon in the instories and filter related video to show below the video at the top of the page.- vimeo
- Dailymotion
- Youtube
- Vid
- kickstarter
Add video where convenient. When you change the theme you will not have problems and not have Problem in your AMP Template
Add additional content to the sidebar
Add you own custom content into the side bar by editing the ./partials/sidebar.hbs
file.
<!-- Add your content to the bottom -->
<div class="sidebar-items">
<h3 class="sidebar-title u-fontSizeBase u-textColorDarker u-marginBottom20 u-fontWeightBolder">
...your title...
</h3>
... your content ...
</div>
Warning - Note - Success
It is very important to add in the block of
Markdown
orHTML
Add some more styling options to your articles text with these three styles.
<p class="warning"> ... your text warning ... </p>
<p class="note"> ... your text note ... </p>
<p class="success"> ... your text success ... </p>
PrismJS code syntax
It is very important to add your code in the block of
Markdown
Make your code stand out. WIth the PrismJS code highlighter. PrismJS allows you to select which languge you embeded and performs code highlighting according to the language. Neat!
Take a look at the Prismjs Supported Language List to find your coding language.
Change Theme Style
To make your changes with your favorite colors you just have to add the following code and replace with your colors Themes.
Home Personal Blog style
if you want to have the homepage in a personal blog style, please follow these steps.
- Rename or delete the file
home.hbs
- Edit the file
package.json
and change the number of post per page to 10.
"config": {
"posts_per_page": 10
}
Credits
- Hodor AMP Template
- Normalize
- Jquery.ghostHunter
- Prismjs
- sticky-kit
- lunr.js
- zoom.js
- jquery-lazyload
- Fonts
Copyright & License
Copyright (c) 2017 GodoFredoNinja - Released under the CC BY-NC-SA 4.0.