eg. what to modify in web.config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE> | |
<html> | |
<head> | |
<title>Service Moved</title> | |
<style> | |
body { | |
font-family: "Lucida Console", Monaco, monospace; | |
} | |
</style> | |
</head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@{ | |
@* Pagination Logic *@ | |
var postsPerPage = 5; | |
var allPosts = Model.Content.GetPropertyValue<string>("images").Split(','); | |
allPosts.ToList().ForEach(i => i = Umbraco.TypedMedia(i)); | |
var totalPages = Math.Ceiling((double)(allPosts.Count() / (double)postsPerPage)); | |
var currentPageNo = int.Parse(Request.QueryString["p"] ?? "1"); |
NewerOlder