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

Asset Display Order #157

Open
JonahRT opened this issue May 17, 2017 · 1 comment
Open

Asset Display Order #157

JonahRT opened this issue May 17, 2017 · 1 comment

Comments

@JonahRT
Copy link

JonahRT commented May 17, 2017

Is there a way to change how assets (images, movies, html, etc.) are displayed?

For example, in a project folder there are three JPEGs, one HTML file, and one MOV (see screenshot). They are numbered in the order that I would like them displayed; however, the images files always appear first on the page.

How can I control how all types of assets are displayed? Another, more extreme example... If I would like to display two images, a movie, another image, and then an html file on a single page in that order.

Thanks for your help!

screen shot 2017-05-17 at 15 15 50

@pbatts
Copy link

pbatts commented May 17, 2017

If you look at the projects.html template you will see that the partials/assets/media.html template is being included.

The order in which the assets appear is being dictated by the partials/assets/media.html template.

You can create templates so that assets appear in a particular order for a given page.

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