GavickPro / Perfetta-Free-Ghost-Theme

Simple restaurant blog theme for Ghost
MIT License
71 stars 26 forks source link

i can't place a video at the beginning of the post on the post list. #5

Open royburns opened 8 years ago

royburns commented 8 years ago

i can't place a video at the beginning of the post on the post list. but i can place the video at the beginning of the post on the post page. Perfetta version : master Ghost version: 0.7.2

qLb commented 8 years ago

open pathToYourTheme/partials/loop.hbs in a text editor and find line similiar to this: {{excerpt words="15"}}, then change 'excerpt' to 'content' so it looks something like this: {{content words="15"}} and as said before in your ghost admin panel add a video embed at the begining of the post.

hope it helps, qL.b

On Sat, Dec 12, 2015 at 2:04 PM, Roy T.Burns notifications@github.com wrote:

i can't place a video at the beginning of the post on the post list but i can place the video at the beginning of the post on the post page Perfetta version : master Ghost version: 072

— Reply to this email directly or view it on GitHub https://github.com/GavickPro/Perfetta-Free-Ghost-Theme/issues/5.

royburns commented 8 years ago

there's no similar lines like this: {{excerpt words="15"}}

qLb commented 8 years ago

{{!< default}}

{{! The main content area on the homepage }}

{{! Each post will be output using this markup }} {{#foreach posts}}
{{#if image}} {{{title}}} {{/if}}

{{{title}}}

{{content}}…

{{!

{{excerpt}}…

}} Read more
{{/foreach}} {{!! After all the posts, we have the previous/next pagination links }} {{pagination}}

On Mon, Dec 14, 2015 at 5:13 AM, Roy T.Burns notifications@github.com wrote:

this is the content of the loop.hbs

{{#if @blog.logo}}

[image: {{@blog.title}} - {{@blog.description}}]

{{else}}

{{@blog.title}}

    </h2>

    <small>{{@blog.description}}</small>

{{/if}}

— Reply to this email directly or view it on GitHub https://github.com/GavickPro/Perfetta-Free-Ghost-Theme/issues/5#issuecomment-164338765 .

qLb commented 8 years ago

pps. in gavickpro's perfetta theme, there is no loop.hbs template in partials folder, im sry. instead the whole for loop code can be found in the index.hbs file which is at the root of the theme folder. hope it helps!

On Mon, Dec 14, 2015 at 3:26 PM, I'm Kamil qoolbio@gmail.com wrote:

{{!< default}}

{{! The main content area on the homepage }}

{{! Each post will be output using this markup }} {{#foreach posts}}
{{#if image}} {{{title}}} {{/if}}

{{{title}}}

{{content}}…

{{!

{{excerpt}}…

}} Read more
{{/foreach}} {{!! After all the posts, we have the previous/next pagination links }} {{pagination}}

On Mon, Dec 14, 2015 at 5:13 AM, Roy T.Burns notifications@github.com wrote:

this is the content of the loop.hbs

{{#if @blog.logo}}

[image: {{@blog.title}} - {{@blog.description}}]

{{else}}

{{@blog.title}}

    </h2>

    <small>{{@blog.description}}</small>

{{/if}}

— Reply to this email directly or view it on GitHub https://github.com/GavickPro/Perfetta-Free-Ghost-Theme/issues/5#issuecomment-164338765 .

royburns commented 8 years ago

thanks.