Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor's Pick? #11

Open
emilymk opened this issue Jun 14, 2017 · 4 comments
Open

Editor's Pick? #11

emilymk opened this issue Jun 14, 2017 · 4 comments

Comments

@emilymk
Copy link

emilymk commented Jun 14, 2017

How can we add an article into the Editor's Pick widget on the sidebar?

Thank you for the awesome theme!

@guzaho
Copy link

guzaho commented Jun 16, 2017

Same question here! :)

@guzaho
Copy link

guzaho commented Jun 16, 2017

OK, I found that after uploading the theme, you can go to your blog's URL and add /documentation at the end. That shows all the config parameters. Unfortunately, you need to edit source code.

@munishis
Copy link

I haven't updated my ghost install for the fear of this. #1

@guzaho
Copy link

guzaho commented Jul 4, 2017

Adding an article to the Editor's pick is quite simple, actually:

  1. Edit the theme's configuration that is in this file partials/config.hbs
  2. Set the two variables to configure the Editor's pick area:
    var editors_tag = 'EditorsPick';
    var editors_tag_post_count = 5;
  3. Tag a post with the tag "EditorsPick" to have it show in the editor's pick on the frontpage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants