GithubHelp home page GithubHelp logo

godofredoninja / simply Goto Github PK

View Code? Open in Web Editor NEW
620.0 21.0 190.0 18.97 MB

Theme for Ghost inspired on Medium

Home Page: https://godofredo.ninja

License: GNU General Public License v3.0

Handlebars 75.57% JavaScript 8.37% CSS 16.06%
ghost theme ghost-theme ghost-blog blogging magazine magazine-theme

simply's People

Contributors

adryanev avatar anarion80 avatar danieldeev avatar diomed avatar dkbast avatar edapm avatar eflarus avatar everping avatar exbu avatar fastbyte01 avatar godofredoninja avatar iamsubingyawali avatar jeremyhalin avatar lekler avatar lvnilesh avatar lyunon avatar mashirozx avatar mertcangokgoz avatar minhtuanchannhan avatar partizan007 avatar pascalandy avatar prashant235913 avatar quyleanh avatar saosangmo avatar stangirard avatar techieforgood avatar thimiraonline avatar tolgaaaltas avatar vodiylik avatar yogeshbeniwal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simply's Issues

Some social icons are not showing

I have a few of social network sites that I've added into the THEME SETTINGS & GLOBAL VARIABLES script. This script is then pasted into the Code Injection section of Ghost.

All the social icons are rendering, except for two: the Google+ and RSS icon.

My site can be seen here: https://justinalex.com . The Google+ icon is positioned between the Instagram and Twitter icons. The RSS icon is placed after the Linkedin icon.

Am I missing something, or a bug?

The following are the code blocks I used for Google+ and RSS:

var followSocialMedia = {
  'google': 'https://plus.google.com/+JustinalexCodingForMe',
  'youtube': 'https://...',
  'instagram': 'https://www.instagram.com/jusuchin85',
  'snapchat': 'https://...',
  'dribbble': 'https://...',
  'github': 'https://...',
  'linkedin':'https://www.linkedin.com/in/pjustinalex',
  'spotify':'https://...',
  'codepen':'https://...',
  'behance':'https://...',
  'flickr':'https://...',
  'pinterest':'https://...',
  'telegram':'https://...',
  'feed':'http://feeds.feedburner.com/CodingForMe',
};

Off topic Player issue

So I was adding a Thrid Party player to website but the player isn't showing right or responsive.

And one more thing if you can help me with it requires iframe to be nested under div tag with player class.
Is there something which add support to all iframe embed youtube and vimeo embeds. Not all as ads are also iframe and it create issue with ads.

https://github.com/sampotts/plyr

Screenshot_2020-04-28-19-21-36-08_d0ef7a9810af20f7b394f4f927b723b0

Cross Protocol JS error when loading posts over https

First of all, thanks a lot for this theme. It's awesome and I loved it!

I'm trying to use it for my blog and while everything seems to work fine, there's a problem when loading posts via AJAX for the infinite scroll. Basically, my blog is being served as HTTPS, and it would seem the js tries to load the next batch of posts for any given list via HTTP, which causes an issue in the browser.

I've tried debugging this myself, but since the code is minified, I seem to be unable to locate the part of the code that's always using http. Can you please help me fix this?

Thanks a lot!

social media icons not visible in the new header and footer

Summary

Social media icons and search icon are not visible in header or footer of the new update, as soon as I activate previous version they work.

Icons tested: Github, twitter, linkedIn

Steps to reproduce

  • Add icon links in code footer as in the documentation

Actual Results

  • Icons are not visible in the header or footer.
  • Twitter icon is the only one present, but not visible, you can click on it.

Expected Results

  • Icons are present and visible

Workaround

  • None

  • Version 0.2.7

  • Chrome 77, Mac Catalina

  • Ghost 3

Ghost 3.0 Support?

Do you know when you will be offering a theme compatible with Ghost 3.0?

Different Comments platform such as Commento?

Hi,

First off fantastic theme.

Would it be possible to include the ability to use a different commenting system such as Commento?

Disqus integration is great but i have privacy concerns around it.

Cheers!

AMP template changes as to make similar to non-amp page

Hi,

Will it be possible to make below changes in order to make AMP page look similar to non-amp pages

1. Same header color

Simply changing color on line 23 <style amp-custom>.u-bgColor{background-color: ##C1CBDB } change the color but look different

AMP page header color
amp page header color

Non-AMP page header color
non-amp page header color

2. Same font size and formatting

Non-AMP page text is bigger in size and more clear than AMP page

AMP page text
amp page text

Non-AMP page text
non-amp page text

3. Option to add icon in footer for: Linkedin, Google+ and RSS feed etc

Option to add all Social media link in AMP footer as supported by below code in Settings -> Code Injection -> Blog Footer section

/* 01. Social Media Follow*/
var followSocialMedia = {

New pages

Hi, I'm using your awesome theme and I'd like to add pages to my blog. Are you using some CSS framework? Is there a complete grid system and so on I can refer to?
Thank you

Posts with no featured image render a blank image box on homepage

Is there a way to differentiate posts with an image to post without?
I want to have an if statement in the story-card.hbs to only show the story-image class if the post contains a featured image.

That way posts without images won't show a blank image placeholder.

Get comment section working?

as you can see nothing happens when you click the "comment" icon. I've added this to my blog footer code injection aswell:

<script>

/* 03. Disqus Comment Settings */
var disqusShortName = 'techynews.disqus.com';

</script>

<!-- Disqus Comments Count-->
<script id="dsq-count-scr" src="//techynews.disqus.com/count.js" async></script>

why isnt it working?

my site is techy-news.com

Search isn't working

When I go to the search page, I get no search results for anything I type in.

Adding ads to post

I wanted to add advertisement to post
1.One Under Feature image basically under Tittle
2.In the middle of post
3.In the end of post

I added Js to head via code Injection.
Now I have to add a tag to show different ads.

<div id="379524153">
    <script type="text/javascript">
        try {
            window._mNHandle.queue.push(function (){
                window._mNDetails.loadTag("379524153", "300x600", "379524153");
            });
        }
        catch (error) {}
    </script>
</div>

It's need to be added in post.hbs but I don't know where to add these tag so ads will appear on particular place

Adsense

How can I place the adsense ad just like you put it on your blog

Discourse integration with Ghost

Discourse provides comment feature for ghost. Official guide for using Discourse as commenting system is at https://help.ghost.org/article/35-discourse.

However I have tried all possible methods, but blog post doesn't show comments. It is stuck at Loading Discussion... as shown below
discourse ghost integration

I have tried below possible methods

  • Follow official integration guide to put code directly in post.hbs/article.hbs
  • use partials to integrate discourse code in article.hbs
  • Put only div section in article.hbs, while script section in Code Injection --> Blog footer

Let me know if I can help :-p

Hi,

I just tried your theme over Ghost 1.5.2 and I se a lot of potential! . I’m the owner of play-with-ghost and one big feature I'm working on is to showcase templates like your that I enjoy.

Let me know if I can help you by hosting a staging environment of your Ghost project(s) or anything related of the backend of hosting Ghost.

Cheers!
Pascal

Changing fonts

Hi,
Thanks for your amazing work!!!

I am noob in Ghost CMS)))
How can I change fonts in your theme?

Not loading certain elements of theme

Hello I loved your theme so I switch from Liebling theme to your's.

Although there are some issues I faced

  1. Feature image aren't loading on main page and related post section. They are blurred for some reason
    2.The share button icon are not loading as well
  2. Navigation menu isn't working means I'm clicking it but it's not opening the menu

I switched back to older theme for now, if you want to look I can immediately switch to yours

Screenshot_2020-04-13-11-06-17-59_3aea4af51f236e4932235fdada7d1643__01
Screenshot_2020-04-13-11-09-32-15_3aea4af51f236e4932235fdada7d1643__01
Screenshot_2020-04-13-11-10-00-54_3aea4af51f236e4932235fdada7d1643__01
Screenshot_2020-04-13-12-23-17-97_cbf47468f7ecfbd8ebcc46bf9cc626da__01

post image on homepage

Hi, I am wondering, how you add a picture for a post, which is shown on homepage as it is not shown in the article/post/story. I saw it on you demo/own blog.

thank you.

Removing newsletter banner

Forgive me, but I can't see anywhere in the documentation how to remove the subscribe-and-secondary-menu.hbs from the home page?

Your screenshots do not display this banner, so how is best to go about disabling this?

Feedback recommandation

Hi,

One

When I click on the author's pages I think it should behave like the /blog (the root of the site.)

screen shot 2017-10-29 at 9 35 36 pm

Instead, I would put elements in this order

  • Title
  • Image
  • Preview
  • The read more ... at the end of the paragraph
  • Author

Also, the link for read more ... is grey and not following the rest of the website.

Links

All links are in black. Many ppl don't realize they are URL :-p
I would put them in green just like the header of the website

Cheers!

Turn off image zoom

Hello!
Thank you so much for this fantastic Ghost theme!

I have a page where I'm using small social icons: LinkedIn, Instagram, etc, as links to social sites. I just want them to be buttons, not to zoom in on the icons as if they were photographs which seems to be the theme default.

Is there a way to turn this off?
Page at:
http://beacharts.ca/490/fall17/

Thank you!!

Theme change issue

Hello, thanks for nice theme.

I could not see change reflect in my website after changing the theme. It still shows index theme even after changing to 'godo-template-sidebar'.

Please check, this is the change I made:

collections:
/:
permalink: /{slug}/
template: godo-template-sidebar

Logo on AMP page

Its a suggestion to replace blog-title on AMP page with header-logo as done in Non-AMP pages

Question: Homepage with Featured Post

Hi!

I use your style "simply" and for the homepage I use the layout option "With Featured Post". The problem now is that the first post with the large image (featured post) is displayed practically twice.

For example, if i activate my latest written post as featured post, the post will even be displayed twice in a row! How can I set / program that a featured post is only shown in the first post and no longer on the homepage below?

Cannot read property 'top' of undefined

Steps to reproduce
Scroll the page when you're into a blog post.

cmd+F on o>r.top into assets/scripts/main.js to find the referenced top.
Since main.js is minified is hard to debug.

Add sidebar to home and posts

First of all, really great theme. Probably one of the best ones I have seen from Ghost, so really appreciate the work.

I wanted to add the sidebar to the homepage and my posts page (actually all pages), is it possible ? If so, how ?

Table of Content

Hi, I want to request a feature to add table of content to posts.
Maybe you can implement with custom-post-toc.hbs.

Thanks

Exclude Posts from specific tag on Homepage

Hi,
Thanks for your amazing work first of all.
I am trying to exclude posts from specific tag on homepage, I have tried following fix but no success

File: index.hbs (theme folder)

   {{#get "posts" filter="tags:-[ShortNews,shortnews]"}}
	    {{#foreach posts visibility="all"}}
        {{/foreach}}
    {{/get}}
   {{#get "posts" filter="tags:-[ShortNews,shortnews]"}}
	    {{#foreach posts}}
        {{/foreach}}
    {{/get}}

theme search not working and frontend error

Hello

Im using ghost 1.21.1 version and I see the following error, I think have been changes in the API

note: API access is enable

https://mertcangokgoz.com/posts/?limit=all&include=tags&formats=plaintext&client_id=ghost-frontend&client_secret=secret HTTP 404

Ghost log

{
   "name":"Log",
   "hostname":
   "pid":2138,
   "level":50,
   "err":{
      "id":"81099b50-1062-11e8-a3b4-4188c16b592a",
      "domain":"https://mertcangokgoz.com",
      "code":null,
      "name":"ValidationError",
      "statusCode":422,
      "level":"normal",
      "message":"The request failed validation.",
      "context":"Error parsing filter",
      "help":"For more information on how to use filter, see http://api.ghost.org/docs/filter",
      "stack":"ValidationError: The request failed validation.\n    at new ValidationError (/var/www/ghost/versions/1.21.1/node_modules/ghost-ignition/lib/errors/index.js:115:23)\n    at Object.combineFilters (/var/www/ghost/versions/1.21.1/core/server/models/plugins/filter.js:27:19)\n    at fetchAndCombineFilters (/var/www/ghost/versions/1.21.1/core/server/models/plugins/filter.js:147:41)\n    at applyDefaultAndCustomFilters (/var/www/ghost/versions/1.21.1/core/server/models/plugins/filter.js:169:22)\n    at Function.findPage (/var/www/ghost/versions/1.21.1/core/server/models/base/index.js:559:24)\n    at modelQuery (/var/www/ghost/versions/1.21.1/core/server/api/posts.js:56:32)\n    at runTask (/var/www/ghost/versions/1.21.1/core/server/lib/promise/pipeline.js:16:24)\n    at /var/www/ghost/versions/1.21.1/core/server/lib/promise/pipeline.js:26:20\n    at tryCatcher (/var/www/ghost/versions/1.21.1/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/var/www/ghost/versions/1.21.1/node_modules/bluebird/js/release/reduce.js:157:18)\n    at Object.gotAccum (/var/www/ghost/versions/1.21.1/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/var/www/ghost/versions/1.21.1/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/var/www/ghost/versions/1.21.1/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/var/www/ghost/versions/1.21.1/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromise0 (/var/www/ghost/versions/1.21.1/node_modules/bluebird/js/release/promise.js:614:10)\n    at Promise._settlePromises (/var/www/ghost/versions/1.21.1/node_modules/bluebird/js/release/promise.js:693:18)\n    at Async._drainQueue (/var/www/ghost/versions/1.21.1/node_modules/bluebird/js/release/async.js:133:16)\n    at Async._drainQueues (/var/www/ghost/versions/1.21.1/node_modules/bluebird/js/release/async.js:143:10)\n    at Immediate.Async.drainQueues (/var/www/ghost/versions/1.21.1/node_modules/bluebird/js/release/async.js:17:14)\n\nError: Query Error: unexpected character in filter at char 6\ntags:[]+id:-59b583dc71d889\n------^\nExpecting 'NULL', 'TRUE', 'FALSE', 'NUMBER', 'LITERAL', 'STRING', got 'RBRACKET'\n    at Object.parser.parseError (/var/www/ghost/versions/1.21.1/node_modules/ghost-gql/dist/parser.js:320:12)\n    at Object.parse (/var/www/ghost/versions/1.21.1/node_modules/ghost-gql/dist/parser.js:236:22)\n    at Object.exports.parse (/var/www/ghost/versions/1.21.1/node_modules/ghost-gql/lib/gql.js:19:19)\n    at /var/www/ghost/versions/1.21.1/core/server/models/plugins/filter.js:24:46\n    at arrayMap (/var/www/ghost/versions/1.21.1/node_modules/lodash/lodash.js:660:23)\n    at Function.map (/var/www/ghost/versions/1.21.1/node_modules/lodash/lodash.js:9571:14)\n    at Object.combineFilters (/var/www/ghost/versions/1.21.1/core/server/models/plugins/filter.js:23:24)\n    at fetchAndCombineFilters (/var/www/ghost/versions/1.21.1/core/server/models/plugins/filter.js:147:41)\n    at applyDefaultAndCustomFilters (/var/www/ghost/versions/1.21.1/core/server/models/plugins/filter.js:169:22)\n    at Function.findPage (/var/www/ghost/versions/1.21.1/core/server/models/base/index.js:559:24)\n    at modelQuery (/var/www/ghost/versions/1.21.1/core/server/api/posts.js:56:32)\n    at runTask (/var/www/ghost/versions/1.21.1/core/server/lib/promise/pipeline.js:16:24)\n    at /var/www/ghost/versions/1.21.1/core/server/lib/promise/pipeline.js:26:20\n    at tryCatcher (/var/www/ghost/versions/1.21.1/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/var/www/ghost/versions/1.21.1/node_modules/bluebird/js/release/reduce.js:157:18)\n    at Object.gotAccum (/var/www/ghost/versions/1.21.1/node_modules/bluebird/js/release/reduce.js:144:25)"
   },
   "msg":"The request failed validation.",
   "time":"2018-02-13T02:06:29.269Z",
   "v":0
}

Ad banners

Hi, happy for me if you read and are willing to respond to my messages.

To complement your theme, can you add ad banners without installing the code manually?

thank you

[BUG] assets url incorrect if using sub folder base URL

Hi there,

It seems I have stumbled on a bug with your awesome theme.

I have my site hosted with the following URL: https://example.com/blog and not https://example.com.

This is set via URL environment var with the official ghost docker image.

Now I found the social icons were missing for some reason so I tested the git version and a few other releases but they all suffered the same thing. So I decided to poke around the code using devloper console in firefox and noticed some errors.

downloadable font: download failed (font-family: "simply" style:normal weight:normal stretch:normal src index:1): status=2147746065 source: https://example.com/assets/fonts/simply.ttf unknown:1:25335
downloadable font: download failed (font-family: "simply" style:normal weight:normal stretch:normal src index:2): status=2147746065 source: https://example.com/assets/fonts/simply.woff

These URLs should really be: https://example.com/blog/assets/fonts/simply.woff

Is there a simple way to make this theme compatible with sub folder base urls? or should I just do a search and replace on the code which seems wrong?

Maybe some kinda global could be added to adjust the baseurl? or read the header?

Below is my docker stack file.

---
version: '3.4'

networks:
  backend:
    external: true

#
# Ghost Blog (https://docs.ghost.org/docs/config#section-running-ghost-with-config-env-variables)
# Port: 2368
#

services:
  blog:
    image: ghost:1-alpine
    networks:
      backend:
        aliases:
          - example_blog
    volumes:
      - /var/lib/docker/ceph/volumes/example_blog/content:/var/lib/ghost/content
    environment:
      database__client: mysql
      database__connection__host: mysql
      database__connection__user: example_blog
      database__connection__password: ****************
      database__connection__database: example_blog
      url: https://example.com/blog
    deploy:
      restart_policy:
        condition: on-failure
        delay: 5s
        max_attempts: 3
        window: 120s
      placement:
        constraints:
          - node.role == worker

Icons are broken

Hi,
I just retried the theme and Icons are still broken. Is there something I have to do about this?

glitch-simple-ghost-theme

Cheers!

Prismjs code highlight not working after using new update

Summary

Prismjs code highlight not working after using new update

Icons tested: Github, twitter, linkedIn

Steps to reproduce

  • Activate new version on theme

Actual Results

  • code highlight stops working, its displayed as regular section

Expected Results

  • Highlights are working correctly

Workaround

  • Use previous version

  • Version 0.2.7

  • Chrome 77, Mac Catalina

  • Ghost 3
    image

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.