Skip to content

Commit

Permalink
Merging
Browse files Browse the repository at this point in the history
  • Loading branch information
godofredoninja committed Apr 1, 2021
2 parents bd4e94e + e3af088 commit 9f1feb6
Show file tree
Hide file tree
Showing 62 changed files with 618 additions and 157 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<a href="https://twitter.com/godofredoninja">Twitter</a>
<br /><br />
<a href="https://github.com/TryGhost/Ghost">
<img src="https://img.shields.io/badge/Ghost-3.x-brightgreen.svg" alt="Ghost version" />
<img src="https://img.shields.io/badge/Ghost-4.x-brightgreen.svg" alt="Ghost version" />
</a>
<a href="https://www.paypal.me/godofredoninja">
<img src="https://img.shields.io/badge/donate-paypal-blue.svg" alt="Donate" />
Expand All @@ -42,16 +42,19 @@

&nbsp;

[![Simply free theme for ghost](https://user-images.githubusercontent.com/10253167/103443986-4daa1500-4c32-11eb-941b-45a4cb54e615.jpg)](https://godofredo.ninja/ghost-theme/simply/)
[![Simply free theme for ghost](https://user-images.githubusercontent.com/10253167/113333274-d6932400-92e7-11eb-8926-9dfed0b1b80e.jpg)](https://godofredo.ninja/ghost-theme/simply/)

## Featured

- [Membership](https://godofredo.ninja/ghost-theme/simply/members) Support using the new portal feature
- Support for [different Languages](https://godofredo.ninja/ghost-theme/simply/languages)
- Light Mode / Dark Mode
- [Drop Down Menu](https://godofredo.ninja/ghost-theme/simply/settings/#dropdownmenu)
- [Logo Light / Dark Mode](https://godofredo.ninja/ghost-theme/simply/settings/#logo-light--dark-mode)
- [Social accounts link](https://godofredo.ninja/ghost-theme/simply/settings/#socialmedia)
- [Fast search](https://godofredo.ninja/ghost-theme/simply/settings/#search/) functionality
- [Layouts Header](https://godofredo.ninja/ghost-theme/simply/layouts/#header)
- Header Defautl
- [Header with DropDown Menu](https://godofredo.ninja/ghost-theme/simply/layouts/#header-with-dropdown-menu)
- [Layouts Footer](https://godofredo.ninja/ghost-theme/simply/layouts/#footer)
- Footer Default
- Footer Dark
Expand All @@ -68,6 +71,9 @@
- [Grid](https://godofredo.ninja/ghost-theme/simply/home/#grid)
- [Personal](https://godofredo.ninja/ghost-theme/simply/home/#personal)
- [Archive](https://godofredo.ninja/ghost-theme/simply/home/#archivepage)
- [Featured with Slider](https://godofredo.ninja/ghost-theme/simply/home/#featured-with-slider)
- [Medium with Sidebar](https://godofredo.ninja/ghost-theme/simply/home/#medium-with-sidebar)
- [Photographer](https://godofredo.ninja/ghost-theme/simply/home/#photographer)
- Post Format
- [Post Default](https://godofredo.ninja/ghost-theme/simply/post-format/#post-default)
- [Post Full](https://godofredo.ninja/ghost-theme/simply/post-format/#post-full)
Expand Down Expand Up @@ -146,6 +152,7 @@ Become a financial contributor and help us sustain our community. [[Contribute](
- [Inter Font Family](https://github.com/rsms/inter/)
- [PT Serif Font Family](https://fonts.google.com/specimen/PT+Serif)
- [Safari Light - Mockup](https://www.uplabs.com/posts/safari-light-version)
- [Tiny Slider](https://github.com/ganlanyuan/tiny-slider)

## Copyright & License

Expand Down
4 changes: 2 additions & 2 deletions amp.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
{{amp_ghost_head}}

{{!-- Google Fonst --}}
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap" rel="stylesheet">
{{!-- <link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap" rel="stylesheet"> --}}

{{!-- Only For dev --}}
{{!-- <link rel="stylesheet" type="text/css" href="{{asset "styles/amp.css"}}"/>
Expand Down
2 changes: 1 addition & 1 deletion assets/scripts/kusi-doc-post.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/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/scripts/pagination.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/prismjs.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/scripts/search.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/styles/amp.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/styles/main.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion custom-archive-contact.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<article class="container mx-auto pt-8 relative mb-10">
{{#post}}
<header class="mx-auto max-w-740 mb-10 pt-3 text-center">
<h1 class=" font-normal mb-8 text-xl underscore is-center text-gray-600">{{title}}</h1>
<h1 class=" font-normal mb-8 text-xl text-gray-600">{{title}}</h1>
{{#if custom_excerpt}}<p class="text-3xl text-title font-semibold">{{custom_excerpt}}</p>{{/if}}
</header>

Expand Down
2 changes: 1 addition & 1 deletion custom-archive-tags.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{#post}}
<header class="topic-header">
<div class="px-4 py-vw6 mx-auto max-w-3xl text-center text-white">
<h1 class="underscore is-center capitalize text-4xl lg:text-5xl font-semibold">{{title}}</h1>
<h1 class="capitalize text-4xl lg:text-5xl font-semibold">{{title}}</h1>
<div class="mt-8 text-xl">{{content}}</div>
</div>
</header>
Expand Down
2 changes: 2 additions & 0 deletions custom-post-full.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
{{img_url feature_image size="xl"}} 2000w"
sizes="(max-width: 400px) 300px,(max-width: 730px) 600px, (max-width: 1600px) 100vw"
src="{{img_url feature_image size="xl"}}"
width="1200"
height="628"
alt="{{title}}"
/>
</figure>
Expand Down
2 changes: 2 additions & 0 deletions custom-post-header-image.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
{{img_url feature_image size="xl"}} 2000w"
sizes="(max-width: 400px) 300px,(max-width: 730px) 600px, (max-width: 1600px) 100vw"
src="{{img_url feature_image size="xl"}}"
width="1200"
height="628"
alt="{{title}}"
/>
</figure>
Expand Down
2 changes: 2 additions & 0 deletions custom-post-image-right.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
sizes="(max-width: 400px) 300px,(max-width: 730px) 600px, (max-width: 1600px) 100vw"
src="{{img_url feature_image size="xl"}}"
alt="{{title}}"
width="750"
height="520"
/>
</figure>
{{/if}}
Expand Down
2 changes: 2 additions & 0 deletions custom-post-wide.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
sizes="(max-width: 400px) 300px,(max-width: 730px) 600px, (max-width: 1600px) 100vw"
src="{{img_url feature_image size="xl"}}"
alt="{{title}}"
width="1200"
height="628"
/>
</figure>
{{/if}}
Expand Down
11 changes: 9 additions & 2 deletions default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
✎ @GodoFredoNinja
✈ Lima - Perú
-->
<html lang="{{@site.locale}}" class="light">
<html lang="{{@site.locale}}">
<head>
{{!-- Document Settings --}}
<meta charset="utf-8" />
Expand Down Expand Up @@ -40,12 +40,19 @@

{{!-- Ghost outputs important style and meta data with this tag --}}
{{ghost_head}}

{{!-- Block for Headers --}}
{{{block "header"}}}
</head>
<body class="{{block "special_body_class"}}">
<div class="simply-viewport flexColumnTop">
{{!-- Header Content with User Account ./partials/layout/header-user-account.hbs --}}
{{!-- Header Default --}}
{{> "layout/header"}}

{{!-- Header With Drop Down --}}
{{!-- {{> "layout/header" hasDropDown=true}} --}}

{{!-- All the main content gets inserted here, index.hbs, post.hbs, etc --}}
<main class="simply-main relative min-h-lg {{{block "special_site_main_class"}}}">{{{body}}}</main>

Expand Down Expand Up @@ -80,7 +87,7 @@
{{ghost_foot}}

{{!-- Notifications ./partials/notifications.hbs --}}
{{> "notifications"}}
{{!-- {{> "notifications"}} --}}

{{!-- script --}}
{{{block "scripts"}}}
Expand Down
68 changes: 37 additions & 31 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,51 +4,57 @@

## General features

- [Membership](https://github.com/godofredoninja/simply/blob/master/docs/members.md) Support using the new portal feature
- Support for [different Languages](https://github.com/godofredoninja/simply/blob/master/docs/languages.md)
- [Membership](./members.md) Support using the new portal feature
- Support for [different Languages](./languages.md)
- Light Mode / Dark Mode
- [Drop Down Menu](https://github.com/godofredoninja/simply/blob/master/docs/settings.md#dropdownmenu)
- [Social accounts link](https://github.com/godofredoninja/simply/blob/master/docs/settings.md#socialmedia)
- [Fast search](https://github.com/godofredoninja/simply/blob/master/docs/settings.md#search/) functionality
- [Layouts Footer](https://github.com/godofredoninja/simply/blob/master/docs/layouts.md#footer)
- [Logo Light / Dark Mode](./settings.md#logo-light--dark-mode)
- [Social accounts link](./settings.md#socialmedia)
- [Fast search](./settings.md#search/) functionality
- [Layouts Header](./layouts.md#header)
- Header Defautl
- [Header with DropDown Menu](./settings.md#header-with-dropdown-menu)
- [Layouts Footer](./layouts.md#footer)
- Footer Default
- Footer Dark
- Footer Not Menu Secondary
- Comments
- [Disqus Comments](https://github.com/godofredoninja/simply/blob/master/docs/settings.md#disquscomments)
- [Facebook Comments](https://github.com/godofredoninja/simply/blob/master/docs/settings.md#facebookcomments)
- [Hyvor Talk Comments](https://github.com/godofredoninja/simply/blob/master/docs/settings.md#hyvortalk)
- [Disqus Comments](./settings.md#disquscomments)
- [Facebook Comments](./settings.md#facebookcomments)
- [Hyvor Talk Comments](./settings.md#hyvortalk)
- Home Page
- [Default](https://github.com/godofredoninja/simply/blob/master/docs/home.md#default)
- [Featured](https://github.com/godofredoninja/simply/blob/master/docs/home.md#featured)
- [Medium](https://github.com/godofredoninja/simply/blob/master/docs/home.md#medium)
- [Sidebar](https://github.com/godofredoninja/simply/blob/master/docs/home.md#sidebar)
- [Grid](https://github.com/godofredoninja/simply/blob/master/docs/home.md#grid)
- [Personal](https://github.com/godofredoninja/simply/blob/master/docs/home.md#personal)
- [Archive](https://github.com/godofredoninja/simply/blob/master/docs/home.md#archivepage)
- [Default](./home.md#default)
- [Featured](./home.md#featured)
- [Medium](./home.md#medium)
- [Sidebar](./home.md#sidebar)
- [Grid](./home.md#grid)
- [Personal](./home.md#personal)
- [Archive](./home.md#archivepage)
- [Featured with Slider](./home.md#featured-with-slider)
- [Medium with Sidebar](./home.md#medium-with-sidebar)
- [Photographer](./home.md#photographer)
- Post Format
- [Post Default](https://github.com/godofredoninja/simply/blob/master/docs/post-format.md#post-default)
- [Post Full](https://github.com/godofredoninja/simply/blob/master/docs/post-format.md#post-full)
- [Post Wide](https://github.com/godofredoninja/simply/blob/master/docs/post-format.md#post-wide)
- [Post Header Image](https://github.com/godofredoninja/simply/blob/master/docs/post-format.md#post-header-image)
- [Post Image](https://github.com/godofredoninja/simply/blob/master/docs/post-format.md#post-image)
- [Post Image Right](https://github.com/godofredoninja/simply/blob/master/docs/post-format.md#post-image-right)
- [Post Sidebar](https://github.com/godofredoninja/simply/blob/master/docs/post-format.md#post-sidebar)
- [Post not Image](https://github.com/godofredoninja/simply/blob/master/docs/post-format.md#post-not-image)
- [Post Default](./post-format.md#post-default)
- [Post Full](./post-format.md#post-full)
- [Post Wide](./post-format.md#post-wide)
- [Post Header Image](./post-format.md#post-header-image)
- [Post Image](./post-format.md#post-image)
- [Post Image Right](./post-format.md#post-image-right)
- [Post Sidebar](./post-format.md#post-sidebar)
- [Post not Image](./post-format.md#post-not-image)
- Page
- [Contact](https://github.com/godofredoninja/simply/blob/master/docs/contact-page.md)
- [Contact](./contact-page.md)
- 404
- Archive
- [Authors Page](https://github.com/godofredoninja/simply/blob/master/docs/authors-and-tags-page.md#authors-page)
- [Tags Page](https://github.com/godofredoninja/simply/blob/master/docs/authors-and-tags-page.md#tags-page)
- [Podcasts Page](https://github.com/godofredoninja/simply/blob/master/docs/podcasts-page.md)
- [Portfolio Page](https://github.com/godofredoninja/simply/blob/master/docs/portfolio-page.md)
- [Kusi Doc](https://github.com/godofredoninja/simply/blob/master/docs/kusi-doc.md) for the documentation of your project
- [Authors Page](./authors-and-tags-page.md#authors-page)
- [Tags Page](./authors-and-tags-page.md#tags-page)
- [Podcasts Page](./podcasts-page.md)
- [Portfolio Page](./portfolio-page.md)
- [Kusi Doc](./kusi-doc.md) for the documentation of your project
- [AMP](https://github.com/godofredoninja/Hodor-AMP-Ghost) Template
- Related Articles
- Social share buttons support for posts
- Previous and next Post
- Tracking [Google Tag Manager](https://github.com/godofredoninja/simply/blob/master/docs/tracking-google-tag-manager.md)
- Tracking [Google Tag Manager](./tracking-google-tag-manager.md)
- Pagination Infinite Scroll
- Video Responsive
- YouTube
Expand Down
78 changes: 78 additions & 0 deletions docs/home.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
5. [Grid](#grid) `godo-template-grid.hbs`
6. [Personal](#personal) `godo-template-personal.hbs`
7. [Archive Page](#archive-page) `godo-template-archive.hbs`
8. [Featured with Slider](#featured-with-slider) `godo-template-featured-slider.hbs`
9. [Medium with Sidebar](#medium-with-sidebar) `godo-template-medium-sidebar.hbs`
10. [Photographer](#photographer) `godo-template-photographer.hbs`

---

Expand Down Expand Up @@ -281,3 +284,78 @@ taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
```

## Featured with Slider

![home featured](https://user-images.githubusercontent.com/10253167/113336280-c8470700-92eb-11eb-867b-c22a4c09c554.jpg)

Here if it is necessary to change our `routes.yaml` in the following way.

```yaml
## routes.yaml
routes:
collections:
/:
permalink: /{slug}/
## filter: 'tag:-[hash-portfolio,hash-kusi-doc]'
limit: 12
template: godo-template-featured-slider
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
```

## Medium with Sidebar

The template is inspired by the medium home page, you will have the facility to add a title, description and a featured image on the right side.

![Simply Medium with sidebar](https://user-images.githubusercontent.com/10253167/113358306-2d5e2500-930b-11eb-92ee-d71717660777.jpg)

- Create a new page
- Choose your favorite title
- Use the `URL` -> `medium-with-sidebar`

```yaml
## routes.yaml
routes:
collections:
/:
permalink: /{slug}/
## filter: 'tag:-[hash-portfolio,hash-kusi-doc]'
template: godo-template-medium-sidebar
data:
post: page.medium-with-sidebar
limit: 14
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
```

## Photographer

If you are a photographer this template is exclusively for you. It has a slider of the last 3 featured articles, the articles will be ordered in columns of 3.

![Home photographer](https://user-images.githubusercontent.com/10253167/113359817-2edd1c80-930e-11eb-8983-6269210c3d65.jpg)

```yaml
## routes.yaml
routes:
collections:
/:
permalink: /{slug}/
## filter: 'tag:-[hash-portfolio,hash-kusi-doc]'
limit: 12
template: godo-template-photographer
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
```
45 changes: 44 additions & 1 deletion docs/layouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,52 @@

Simply comes with different header and footer styles.

## Header

Two different styles for Header

### Header Default

The default menu is very beautiful and you don't have to do anything to use it.

![Header default Menu](https://user-images.githubusercontent.com/10253167/113360936-68af2280-9310-11eb-80d1-cea5abf6b54c.jpg)

---

### Header with DropDown Menu

![Header with dropdown](https://user-images.githubusercontent.com/10253167/113361146-ea06b500-9310-11eb-970a-346a7040af5c.jpg)

You can add drop down menu in header and for [Social Media](./settings.md#social-media)

➡️ `Dashboard -> Settings -> Code injection -> Site Footer`

```html
<script>
var menuDropdown = {
'Menu 01': 'https://example.com',
'Menu 02': 'https://example.com',
'Menu 03': 'https://example.com',
'Menu 04': 'https://example.com',
'Menu 05': 'https://example.com'
};
</script>
```

Edit the file `default.hbs` and uncomment `{{> "layout/header" hasDropDown=true}}`

``` handlebars
{{!-- Header Content with User Account ./partials/layout/header-user-account.hbs --}}
{{!-- Header Default --}}
{{> "layout/header"}}
{{!-- Header With Drop Down --}}
{{!-- {{> "layout/header" hasDropDown=true}} --}}
```

## Footer

Simply Comes with two page header styles
Three different styles for Footer

### Footer Default

Expand Down
Loading

0 comments on commit 9f1feb6

Please sign in to comment.