/// <summary> /// Create the template output /// </summary> public virtual string TransformText() { this.Write("<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n <meta charset=\"utf-8\">\r\n <title" + ">"); #line 13 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(SiteName.HtmlEncode())); #line default #line hidden this.Write(" - Photographs</title>\r\n <meta name=\"description\" content=\"All photographs on " + ""); #line 14 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(SiteName.HtmlEncode())); #line default #line hidden this.Write(" listed by date.\">\r\n <meta name=\"author\" content=\""); #line 15 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(CreatedBy.HtmlEncode())); #line default #line hidden this.Write("\">\r\n <meta name=\"keywords\" content=\"photographs, camera roll\" >\r\n\r\n <meta p" + "roperty=\"og:site_name\" content=\""); #line 18 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(SiteName.HtmlEncode())); #line default #line hidden this.Write("\" />\r\n <meta property=\"og:url\" content=\"https:"); #line 19 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(PageUrl)); #line default #line hidden this.Write("\" />\r\n <meta property=\"og:type\" content=\"article\" />\r\n <meta property=\"og:t" + "itle\" content=\"Photographs By Date\" />\r\n <meta property=\"og:description\" cont" + "ent=\"All photographs on "); #line 22 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(SiteName.HtmlEncode())); #line default #line hidden this.Write(" listed by date.\" />\r\n\r\n "); #line 24 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Tags.OpenGraphImageMetaTags(MainImage))); #line default #line hidden this.Write("\r\n\r\n <link rel = \"schema.DC\" href = \"http://purl.org/DC/elements/1.0/\">\r\n <" + "meta name=\"DC.Title\" content=\"Photographs By Date\">\r\n <meta name =\"DC.Creator" + "\" content=\""); #line 29 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(CreatedBy.HtmlEncode())); #line default #line hidden this.Write("\">\r\n <meta name =\"DC.Publisher\" content=\""); #line 30 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(SiteName.HtmlEncode())); #line default #line hidden this.Write("\">\r\n <meta name=\"DC.Description\" content=\"All photographs on "); #line 31 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(SiteName.HtmlEncode())); #line default #line hidden this.Write(" listed by date.\">\r\n <meta name=\"DC.Date\" content=\""); #line 32 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(LastDateGroupDateTime.ToString("yyyy-MM-dd").HtmlEncode())); #line default #line hidden this.Write("\">\r\n <meta name=\"DC.Format\" content=\"text/html\">\r\n <meta name=\"DC.Language\"" + " content=\"en-US\">\r\n\r\n <link rel=\"alternate\" type=\"application/rss+xml\" \r\n " + " title=\""); #line 38 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture($"RSS Feed for {UserSettingsSingleton.CurrentSettings().SiteName} - Photos".HtmlEncode())); #line default #line hidden this.Write("\"\r\n href=\"https:"); #line 40 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(UserSettingsSingleton.CurrentSettings().PhotoRssUrl())); #line default #line hidden this.Write("\" />\r\n\r\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"" + ">\r\n\r\n "); #line 45 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Tags.CssStyleFileString())); #line default #line hidden this.Write("\r\n "); #line 46 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Tags.FavIconFileString())); #line default #line hidden this.Write("\r\n\r\n</head>\r\n\r\n<body>\r\n "); #line 51 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Tags.StandardHeader().ToString())); #line default #line hidden this.Write("\r\n "); #line 52 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRule())); #line default #line hidden this.Write("\r\n "); #line 53 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Tags.TitleDiv($"{SiteName} - Photographs").ToString())); #line default #line hidden this.Write("\r\n "); #line 55 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(CameraRollContentTag.ToString())); #line default #line hidden this.Write("\r\n "); #line 56 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRule())); #line default #line hidden this.Write("\r\n "); #line 57 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\CameraRollGalleryPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Footer.StandardFooterDiv())); #line default #line hidden this.Write("\r\n</body>\r\n\r\n</html>\r\n"); return(this.GenerationEnvironment.ToString()); }
/// <summary> /// Create the template output /// </summary> public virtual string TransformText() { this.Write("<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head data-generationversion=\""); #line 11 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(GenerationVersion?.ToString("yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fffffff") ?? string.Empty)); #line default #line hidden this.Write("\">\r\n <meta charset=\"utf-8\">\r\n <title>"); #line 13 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Title.HtmlEncode())); #line default #line hidden this.Write("</title>\r\n <meta name=\"description\" content=\""); #line 14 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Summary.HtmlEncode())); #line default #line hidden this.Write("\">\r\n <meta name=\"author\" content=\""); #line 15 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(CreatedBy.HtmlEncode())); #line default #line hidden this.Write("\">\r\n <meta name=\"keywords\" content=\""); #line 16 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(string.Join(",", PhotoTags).HtmlEncode())); #line default #line hidden this.Write("\" >\r\n\r\n <meta property=\"og:site_name\" content=\""); #line 18 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(SiteName.HtmlEncode())); #line default #line hidden this.Write("\" />\r\n <meta property=\"og:url\" content=\"https:"); #line 19 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(PageUrl)); #line default #line hidden this.Write("\" />\r\n <meta property=\"og:type\" content=\"article\" />\r\n <meta property=\"og:t" + "itle\" content=\""); #line 21 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Title.HtmlEncode())); #line default #line hidden this.Write("\" />\r\n <meta property=\"og:description\" content=\""); #line 22 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Summary.HtmlEncode())); #line default #line hidden this.Write("\" />\r\n\r\n "); #line 24 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Tags.OpenGraphImageMetaTags(MainImage))); #line default #line hidden this.Write("\r\n\r\n <link rel = \"schema.DC\" href = \"http://purl.org/DC/elements/1.0/\">\r\n <" + "meta name=\"DC.Title\" content=\""); #line 27 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Title.HtmlEncode())); #line default #line hidden this.Write("\">\r\n <meta name =\"DC.Creator\" content=\""); #line 28 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(CreatedBy.HtmlEncode())); #line default #line hidden this.Write("\">\r\n <meta name =\"DC.Publisher\" content=\""); #line 29 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(SiteName.HtmlEncode())); #line default #line hidden this.Write("\">\r\n <meta name=\"DC.Description\" content=\""); #line 30 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Summary.HtmlEncode())); #line default #line hidden this.Write("\">\r\n <meta name=\"DC.Date\" content=\""); #line 31 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(PhotoPageDate.ToString("yyyy-MM-dd").HtmlEncode())); #line default #line hidden this.Write("\">\r\n <meta name=\"DC.Format\" content=\"text/html\">\r\n <meta name=\"DC.Language\"" + " content=\"en-US\">\r\n\r\n <link rel=\"alternate\" type=\"application/rss+xml\" \r\n " + " title=\""); #line 37 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture($"RSS Feed for {UserSettingsSingleton.CurrentSettings().SiteName} - Photos".HtmlEncode())); #line default #line hidden this.Write("\"\r\n href=\"https:"); #line 39 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(UserSettingsSingleton.CurrentSettings().PhotoRssUrl())); #line default #line hidden this.Write("\" />\r\n\r\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"" + ">\r\n\r\n "); #line 44 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Tags.CssStyleFileString())); #line default #line hidden this.Write("\r\n "); #line 45 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Tags.FavIconFileString())); #line default #line hidden this.Write("\r\n\r\n</head>\r\n\r\n<body>\r\n "); #line 50 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Tags.StandardHeader().ToString())); #line default #line hidden this.Write("\r\n "); #line 51 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRule())); #line default #line hidden this.Write("\r\n "); #line 52 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Tags.TitleDiv(Title).ToString())); #line default #line hidden this.Write("\r\n "); #line 53 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(DailyPhotosPageParts.PhotoList(ImageList))); #line default #line hidden this.Write("\r\n "); #line 55 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRule())); #line default #line hidden this.Write("\r\n <div class=\"information-section\">\r\n "); #line 57 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Tags.TagList(PhotoTags).ToString())); #line default #line hidden this.Write("\r\n "); #line 58 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(BodyContentReferences.RelatedContentTag( ImageList.Select(x => ((IContentId)x.Pictures.DbEntry).ContentId).ToList(), GenerationVersion).Result)); #line default #line hidden this.Write("\r\n "); #line 61 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(DailyPhotosPageParts.PreviousAndNextPostsDiv(this))); #line default #line hidden this.Write("\r\n </div>\r\n "); #line 64 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRule())); #line default #line hidden this.Write("\r\n "); #line 65 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoGalleryHtml\DailyPhotosPage.tt" this.Write(this.ToStringHelper.ToStringWithCulture(Footer.StandardFooterDiv())); #line default #line hidden this.Write("\r\n</body>\r\n\r\n</html>"); return(this.GenerationEnvironment.ToString()); }