Mapache is for: Blog - Magazine - Landing page - Personal page - Photographers. and in many other things
Clone or download
Permalink
Failed to load latest commit information.
assets Improving javascript and adding css online Sep 10, 2018
documentation updating the documentation Aug 31, 2018
locales compatible German translation (de.json) Sep 16, 2018
partials Improving javascript and adding css online Sep 10, 2018
.editorconfig now supports version two of Ghost Aug 19, 2018
.gitignore merging branches and resolving conflicts Aug 29, 2018
LICENSE preparing new version of Mapache Aug 20, 2018
README.md add missing text Sep 16, 2018
amp.hbs preparing new version of Mapache Aug 20, 2018
author.hbs adding sections for ads Sep 9, 2018
custom-post-full-header.hbs adding sections for ads Sep 9, 2018
custom-post-image-single.hbs adding sections for ads Sep 9, 2018
custom-post-image.hbs adding sections for ads Sep 9, 2018
custom-post-not-image.hbs adding sections for ads Sep 9, 2018
custom-post-single.hbs adding sections for ads Sep 9, 2018
custom-post-video.hbs adding sections for ads Sep 9, 2018
default.hbs Improving javascript and adding css online Sep 10, 2018
donate.gif preparing new version of Mapache Aug 20, 2018
error.hbs preparing new version of Mapache Aug 20, 2018
home.hbs adding sections for ads Sep 9, 2018
index.hbs adding sections for ads Sep 9, 2018
package.json Solving conflicts Sep 10, 2018
page.hbs preparing new version of Mapache Aug 20, 2018
post.hbs adding sections for ads Sep 9, 2018
screenshot.jpg updating the documentation Aug 31, 2018
subscribe.hbs add widget Newsletter in sidebar Aug 23, 2018
tag.hbs adding sections for ads Sep 9, 2018
theme.md updating the documentation Aug 31, 2018

README.md

Mapache free theme for Ghost

Ghost version Donate

Minimalist 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

If you have a ❤ heart and value my work. 🙏 Please, help me with a small donation on Paypal. It'll help motivate me to update the theme with many improvements

donate

mapache theme for ghost

Demo

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.

ghost settings

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:

Publication Language for ghost

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 Format

  1. Post Full Header — It will have the full title of the post and will include the sidebar.

  2. 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.

  3. Post Image Single — It's similar to post image. The difference is that you won't have a sidebar.

  4. 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 or HTML

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>

Warning Note

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.

Prism JS

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
  }

Personal Blog

Credits

Copyright & License

Copyright (c) 2017 GodoFredoNinja - Released under the CC BY-NC-SA 4.0.