Lower loading priority for trailers and maps
This commit is contained in:
parent
445fadcded
commit
eccd91a160
@ -157,7 +157,7 @@ component AnimeTrailerByIndex(anime *arn.Anime, index int)
|
||||
section.anime-section.mountable(data-mountable-type="sidebar")
|
||||
h3.anime-section-name Trailer
|
||||
.anime-trailer.video-container
|
||||
iframe.video(src="https://www.youtube.com/embed/" + anime.Trailers[index].ServiceID + "?showinfo=0", allowfullscreen)
|
||||
iframe.video(src="https://www.youtube.com/embed/" + anime.Trailers[index].ServiceID + "?showinfo=0", importance="low", allowfullscreen)
|
||||
|
||||
component AnimeFriends(friends []*arn.User, listItems map[*arn.User]*arn.AnimeListItem)
|
||||
if len(friends) > 0
|
||||
|
@ -15,7 +15,7 @@ component CompanyPage(company *arn.Company, studioAnime, producedAnime, licensed
|
||||
.company-sidebar
|
||||
if company.Location.Latitude != 0 && company.Location.Longitude != 0
|
||||
h3.mountable Location
|
||||
iframe.company-location.mountable(src="https://www.google.com/maps/embed/v1/place?q=" + fmt.Sprint(company.Location.Latitude) + "," + fmt.Sprint(company.Location.Longitude) + "&key=AIzaSyAsx6fhqRGaMLTixIJMIZBU4Mg6HJmvQf0")
|
||||
iframe.company-location.mountable(src="https://www.google.com/maps/embed/v1/place?q=" + fmt.Sprint(company.Location.Latitude) + "," + fmt.Sprint(company.Location.Longitude) + "&key=AIzaSyAsx6fhqRGaMLTixIJMIZBU4Mg6HJmvQf0", importance="low")
|
||||
|
||||
if len(closeCompanies) > 0
|
||||
h3.mountable Within 1 km radius
|
||||
|
Loading…
Reference in New Issue
Block a user