Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
GodoFredo committed Jan 22, 2018
2 parents a383688 + 9ffff11 commit 6809dfc
Show file tree
Hide file tree
Showing 264 changed files with 1,402 additions and 787 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
## Free theme for Ghost

Hello, I created this theme for Ghost with inspiration from [Medium](https://medium.com/).
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](https://goo.gl/y3aivK)
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](https://goo.gl/y3aivK).

## ❤ Please, help me with a small donation on [Paypal](https://bit.ly/PayPal-GodoFredoNinja). It'll help motivate me to update the theme with many improvements

## ❤ Please, help me with a small donation on [Paypal](https://bit.ly/PayPal-GodoFredoNinja). It'll help motivate me to update the theme with many improvements.
[![](./donate.gif)](https://bit.ly/PayPal-GodoFredoNinja)

![](./screenshot.png)
Expand All @@ -22,6 +23,7 @@ You can see Simply in action on my Page [Demo](https://goo.gl/V7moIY)

## Featured

- Support for different [languages](http://themes.ghost.org/docs/i18n#section-how-to-add-any-language) (en - es)
- Responsive layout
- Blog navigation
- Page 404 (Multiple faces emoticons)
Expand Down Expand Up @@ -127,7 +129,7 @@ This enables comments and comment counter
```html
<div id="fb-root"></div>
<script>(function(d, s, id) {
$('.simply-facebook').removeClass('u-hide');
$('.simply-facebook, #post-comments').removeClass('u-hide');
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
Expand All @@ -137,6 +139,15 @@ This enables comments and comment counter
}(document, 'script', 'facebook-jssdk'));</script>
```

## Publication Language

![](./documentation/language.png)

Mapache supports English and Spanish languages.
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](https://www.w3schools.com/tags/ref_language_codes.asp) of the files to use (e.g.: `fr.json` for French, `zh.json` for Chinese, `ja.json` for Japanese)

## Add additional content to the sidebar

Add you own custom content into the side bar by editing the `./partials/sidebar.hbs` file.
Expand Down Expand Up @@ -173,7 +184,6 @@ Take a look at the [Prismjs Supported Language List](http://prismjs.com/#languag

- vimeo
- Dailymotion
- Facebook Video
- Youtube
- Vid
- kickstarter
Expand Down
4 changes: 2 additions & 2 deletions amp.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html >
<html lang="{{lang}}">
<head>
{{!-- Document Settings --}}
<meta charset="utf-8">
Expand Down Expand Up @@ -154,7 +154,7 @@
{{!-- Related Articles --}}
{{#get "posts" limit="6" filter="tags:[{{post.tags}}]+id:-{{post.id}}"}}
<div class="related u-container">
<div class="related-title"><span>Related Articles</span></div>
<div class="related-title"><span>{{t "Related Articles"}}</span></div>

{{#foreach posts}}
<div class="story">
Expand Down
11 changes: 11 additions & 0 deletions assets/assets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"fonts/simply.eot?25764j": "fonts/simply.eot",
"fonts/simply.svg?25764j": "fonts/simply.svg",
"fonts/simply.ttf?25764j": "fonts/simply.ttf",
"fonts/simply.woff?25764j": "fonts/simply.woff",
"images/avatar.png": "images/avatar.png",
"styles/amp.css": "styles/amp.css",
"scripts/amp.js": "scripts/amp.js",
"styles/main.css": "styles/main.css",
"scripts/main.js": "scripts/main.js"
}
Binary file modified assets/fonts/simply.eot
Binary file not shown.
Binary file modified assets/fonts/simply.ttf
Binary file not shown.
Binary file modified assets/fonts/simply.woff
Binary file not shown.
1 change: 1 addition & 0 deletions assets/scripts/amp.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions assets/scripts/main.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/scripts/prism-components/prism-abap.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/scripts/prism-components/prism-abap.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6809dfc

Please sign in to comment.