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

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

Open
royburns opened this issue Dec 12, 2015 · 5 comments
Open

Comments

@royburns
Copy link

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
Copy link

qLb commented Dec 12, 2015

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 [email protected]
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
#5.

@royburns
Copy link
Author

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

@qLb
Copy link

qLb commented Dec 14, 2015

{{!< 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
{{date format="MMM DD"}} {{date format="YYYY"}}
by
{{author}}
{{#if tags}}
tagged as:
    {{#foreach tags}}
  • {{name}}{{#if @last}} {{else}}, {{/if}}
  • {{/foreach}}
{{/if}}

{{/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 [email protected]
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
#5 (comment)
.

@qLb
Copy link

qLb commented Dec 14, 2015

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 [email protected] 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
{{date format="MMM DD"}} {{date format="YYYY"}}
by
{{author}}
{{#if tags}}
tagged as:
    {{#foreach tags}}
  • {{name}}{{#if @last}} {{else}}, {{/if}}
  • {{/foreach}}
{{/if}}

{{/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 [email protected]
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
#5 (comment)
.

@royburns
Copy link
Author

thanks.

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