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

how to activate "continue reading" ? #51

Open
wonyoungseo opened this issue Apr 20, 2018 · 1 comment
Open

how to activate "continue reading" ? #51

wonyoungseo opened this issue Apr 20, 2018 · 1 comment

Comments

@wonyoungseo
Copy link

Hi :)

I've installed your theme on my hexo blog

My "hope" page does not have "continue reading" button on each post, but instead there is full content of the post.
How can I activate or configure "more reading" button?

  • additional question) how can I increase font size of post title ?

Thanks for the awesome theme!

@Juvenal-Yescas
Copy link
Contributor

Juvenal-Yescas commented Jun 24, 2018

Continue reading button

It is necessary to add <! - more ->

Example:

---
title: Being Outside in Fresh Air & How Your Body Loves It
date: 2016-11-20 21:55:38
comments: true
---

! [] (/ hexo-theme-hiker / gallery / shoes.jpg)

some text of this post

<! - more ->

the complete content

in the site-source branch you can find more details of the sample website.


Font size

Editing the file themes/hiero/layout/_partial/post/title.ejs

<h1 class = "thumb" itemprop = "name">
     <h2 class = "<% = class_name%>" href = "<% - url_for (post.link)%>" target = "_ blank" itemprop = "url"> <% = post.title%> </ h2>
</ h1>

you will have a title of size h2
@LucaSEO

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

2 participants