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

Getting posts in default layout #122

Closed
patriksvensson opened this issue Jun 21, 2014 · 4 comments · Fixed by #124
Closed

Getting posts in default layout #122

patriksvensson opened this issue Jun 21, 2014 · 4 comments · Fixed by #124

Comments

@patriksvensson
Copy link

[Question]

I'm aware this might be a stupid question, but I'm posting it anyway :)

I'm currently building a small site (for a project on GitHub pages) where I would like to list the title of some posts in a sidebar in the default layout. How do I accomplish this when the default view base need to inherit Snow.ViewModels.BaseViewModel (where I don't have access to the posts)?

@patriksvensson
Copy link
Author

Does anyone know?

@phillip-haydon
Copy link
Member

Oh sorry! I completely missed this. I'll take a look tonight and get back to you. Sorry for not replying sooner :'(

@phillip-haydon
Copy link
Member

Hey @patriksvensson,

Really sorry for such a late reply. I think I was on holiday when you raised this so I probably missed the initial email.

I've added a new release, you should be able to access it all from the base view model now :)

@patriksvensson
Copy link
Author

Thank you very much. Great work! :)

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

Successfully merging a pull request may close this issue.

2 participants