public HtmlTag IndexPosts()
        {
            if (!IndexContent.Any())
            {
                return(HtmlTag.Empty());
            }

            var indexBodyContainer = new DivTag().AddClass("index-posts-container");

            foreach (var loopPosts in IndexContent.Take(_numberOfContentItemsToDisplay))
            {
                if (loopPosts.GetType() == typeof(PostContent))
                {
                    var post = new SinglePostDiv(loopPosts);
                    var indexPostContentDiv = new DivTag().AddClass("index-posts-content");
                    indexPostContentDiv.Encoded(false).Text(post.TransformText());
                    indexBodyContainer.Children.Add(indexPostContentDiv);
                    indexBodyContainer.Children.Add(HorizontalRule.StandardRule());
                }

                if (loopPosts.GetType() == typeof(NoteContent))
                {
                    var post = new SingleNoteDiv(loopPosts);
                    var indexPostContentDiv = new DivTag().AddClass("index-posts-content");
                    indexPostContentDiv.Encoded(false).Text(post.TransformText());
                    indexBodyContainer.Children.Add(indexPostContentDiv);
                    indexBodyContainer.Children.Add(HorizontalRule.StandardRule());
                }

                if (loopPosts.GetType() == typeof(PhotoContent))
                {
                    var post = new SinglePhotoDiv(loopPosts);
                    var indexPostContentDiv = new DivTag().AddClass("index-posts-content");
                    indexPostContentDiv.Encoded(false).Text(post.TransformText());
                    indexBodyContainer.Children.Add(indexPostContentDiv);
                    indexBodyContainer.Children.Add(HorizontalRule.StandardRule());
                }

                if (loopPosts.GetType() == typeof(ImageContent))
                {
                    var post = new SingleImageDiv(loopPosts);
                    var indexPostContentDiv = new DivTag().AddClass("index-posts-content");
                    indexPostContentDiv.Encoded(false).Text(post.TransformText());
                    indexBodyContainer.Children.Add(indexPostContentDiv);
                    indexBodyContainer.Children.Add(HorizontalRule.StandardRule());
                }

                if (loopPosts.GetType() == typeof(FileContent))
                {
                    var post = new SingleFileDiv(loopPosts);
                    var indexPostContentDiv = new DivTag().AddClass("index-posts-content");
                    indexPostContentDiv.Encoded(false).Text(post.TransformText());
                    indexBodyContainer.Children.Add(indexPostContentDiv);
                    indexBodyContainer.Children.Add(HorizontalRule.StandardRule());
                }
            }

            return(indexBodyContainer);
        }
        /// <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 7 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Title.HtmlEncode()));

            #line default
            #line hidden
            this.Write("</title>\r\n    <meta name=\"description\" content=\"");

            #line 8 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Summary.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name=\"author\" content=\"");

            #line 9 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.CreatedBy.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name=\"keywords\" content=\"");

            #line 10 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Tags.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\" >\r\n\r\n    <meta property=\"og:site_name\" content=\"");

            #line 12 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SiteName.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\" />\r\n    <meta property=\"og:url\" content=\"https:");

            #line 13 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.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 15 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Title.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\" />\r\n    <meta property=\"og:description\" content=\"");

            #line 16 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Summary.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\" />\r\n\r\n    ");

            #line 18 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.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 21 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Title.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name =\"DC.Creator\" content=\"");

            #line 22 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.CreatedBy.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name =\"DC.Publisher\" content=\"");

            #line 23 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SiteName.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name=\"DC.Description\" content=\"");

            #line 24 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Summary.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name=\"DC.Date\" content=\"");

            #line 25 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.CreatedOn.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 31 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture($"RSS Feed for {UserSettingsSingleton.CurrentSettings().SiteName} - Files"));

            #line default
            #line hidden
            this.Write("\"\r\n      href=\"https:");

            #line 33 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(UserSettingsSingleton.CurrentSettings().FileRssUrl()));

            #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 38 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.CssStyleFileString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 39 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.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 44 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.StandardHeader().ToString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 45 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRule()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 46 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.TitleDiv(DbEntry).ToString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 47 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.PostCreatedByAndUpdatedOnDiv(DbEntry).ToString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 49 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.PostBodyDiv(DbEntry).ToString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 50 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRule()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 51 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DownloadLinkTag()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 52 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRuleIfNotEmptyTag(DownloadLinkTag())));

            #line default
            #line hidden
            this.Write("\r\n    <div class=\"information-section\">\r\n        ");

            #line 55 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.TagList(DbEntry).ToString()));

            #line default
            #line hidden
            this.Write("\r\n        ");

            #line 56 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(BodyContentReferences.RelatedContentTag(DbEntry.ContentId, DbEntry.BodyContent).Result));

            #line default
            #line hidden
            this.Write("\r\n        ");

            #line 58 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.CreatedByAndUpdatedOnDiv(DbEntry).ToString()));

            #line default
            #line hidden
            this.Write("\r\n        ");

            #line 60 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.UpdateNotesDiv(DbEntry).ToString()));

            #line default
            #line hidden
            this.Write("\r\n    </div>\r\n    ");

            #line 62 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRule()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 63 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\FileHtml\SingleFilePage.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());
        }
Exemplo n.º 3
0
        /// <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 6 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\TagListHtml\TagListPage.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>Tag List</title>\r\n\r\n    <meta name=\"vi" +
                       "ewport\" content=\"width=device-width, initial-scale=1.0\">\r\n\r\n    ");

            #line 12 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\TagListHtml\TagListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.CssStyleFileString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 13 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\TagListHtml\TagListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.FavIconFileString()));

            #line default
            #line hidden
            this.Write("\r\n</head>\r\n<body>\r\n    ");

            #line 16 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\TagListHtml\TagListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.StandardHeader().ToString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 17 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\TagListHtml\TagListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRule()));

            #line default
            #line hidden
            this.Write("\r\n    <div class=\"search-input-container\">\r\n        <input type=\"text\" class=\"sea" +
                       "rch-input\" id=\"userSearchText\" onkeyup=\"searchContent()\" placeholder=\"Search Tag" +
                       "s...\">\r\n    </div>\r\n    ");

            #line 21 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\TagListHtml\TagListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(TagList()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 22 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\TagListHtml\TagListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRule()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 23 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\TagListHtml\TagListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Footer.StandardFooterDiv()));

            #line default
            #line hidden
            this.Write(@"

<script>
    function searchContent() {
      // Declare variables
      var input, filterText, contentDivs, loopDiv, i, divDataText;
      input = document.getElementById('userSearchText');
      filterText = input.value.toUpperCase();
      contentDivs = document.getElementsByClassName('tag-list-item');

      // Loop through all list items, and hide those who don't match the search query
      for (i = 0; i < contentDivs.length; i++) {
        loopDiv = contentDivs[i];
	    divTagName = loopDiv.getAttribute('data-tagname').toUpperCase();
	    divTagSlug = loopDiv.getAttribute('data-tagslug').toUpperCase();

        if (divTagName.indexOf(filterText) > -1 || divTagSlug.indexOf(filterText) > -1 ) {
		    loopDiv.style.display = """";
        } else {
		    loopDiv.style.display = ""none"";
        }
      }
    }
</script>

</body>

</html>");
            return(this.GenerationEnvironment.ToString());
        }
Exemplo n.º 4
0
        /// <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 9 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.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 11 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SiteName));

            #line default
            #line hidden
            this.Write("</title>\r\n    <meta name=\"description\" content=\"");

            #line 12 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SiteSummary.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name=\"author\" content=\"");

            #line 13 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SiteAuthors.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name=\"keywords\" content=\"");

            #line 14 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SiteKeywords.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\" >\r\n\r\n    <meta property=\"og:site_name\" content=\"");

            #line 16 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SiteName.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\" />\r\n    <meta property=\"og:url\" content=\"https:");

            #line 17 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(PageUrl));

            #line default
            #line hidden
            this.Write("\" />\r\n    <meta property=\"og:type\" content=\"website\" />\r\n    <meta property=\"og:t" +
                       "itle\" content=\"");

            #line 19 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SiteName.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\" />\r\n    <meta property=\"og:description\" content=\"");

            #line 20 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SiteSummary.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\" />\r\n\r\n    ");

            #line 22 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.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 25 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SiteName.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name =\"DC.Creator\" content=\"");

            #line 26 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SiteAuthors.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name =\"DC.Publisher\" content=\"");

            #line 27 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SiteName.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name=\"DC.Description\" content=\"");

            #line 28 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SiteSummary.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    <meta name=\"viewport\" content=\"width=device-width, init" +
                       "ial-scale=1.0\">\r\n\r\n    ");

            #line 34 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.SiteMainRss()));

            #line default
            #line hidden
            this.Write("\r\n\r\n    ");

            #line 36 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.CssStyleFileString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 37 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.FavIconFileString()));

            #line default
            #line hidden
            this.Write("\r\n\r\n    ");

            #line 39 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SpatialScripts.IncludeIfNeeded(IncludeSpatialScripts)));

            #line default
            #line hidden
            this.Write("\r\n</head>\r\n\r\n<body>\r\n    ");

            #line 43 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.StandardHeader().ToString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 44 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRule()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 45 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(IndexPosts()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 46 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.PreviousAndNextPostsDiv(PreviousPosts, new List <IContentCommon>())));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 47 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRuleIfNotEmptyTag(Tags.PreviousAndNextPostsDiv(PreviousPosts, new List <IContentCommon>()))));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 48 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\IndexHtml\IndexPage.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());
        }
        /// <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());
        }
Exemplo n.º 6
0
        /// <summary>
        /// Create the template output
        /// </summary>
        public virtual string TransformText()
        {
            this.Write("<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head data-contentversion=\"");

            #line 5 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.ContentVersion.ToString("yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fffffff")));

            #line default
            #line hidden
            this.Write("\" data-generationversion=\"");

            #line 5 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.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 7 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Title.HtmlEncode()));

            #line default
            #line hidden
            this.Write("</title>\r\n    <meta name=\"description\" content=\"");

            #line 8 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Summary.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name=\"author\" content=\"");

            #line 9 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.CreatedBy.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name=\"keywords\" content=\"");

            #line 10 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Tags.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\" >\r\n\r\n    <meta property=\"og:site_name\" content=\"");

            #line 12 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SiteName.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\" />\r\n    <meta property=\"og:url\" content=\"https:");

            #line 13 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.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 15 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Title.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\" />\r\n    <meta property=\"og:description\" content=\"");

            #line 16 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Summary.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\" />\r\n\r\n    ");

            #line 18 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.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 21 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Title.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name =\"DC.Creator\" content=\"");

            #line 22 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.CreatedBy.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name =\"DC.Publisher\" content=\"");

            #line 23 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SiteName.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name=\"DC.Description\" content=\"");

            #line 24 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Summary.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name=\"DC.Date\" content=\"");

            #line 25 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.CreatedOn.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    ");

            #line 30 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.SiteMainRss()));

            #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 34 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.CssStyleFileString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 35 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.FavIconFileString()));

            #line default
            #line hidden
            this.Write("\r\n\r\n    ");

            #line 37 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SpatialScripts.IncludeIfNeeded(DbEntry)));

            #line default
            #line hidden
            this.Write("\r\n</head>\r\n\r\n<body>\r\n    ");

            #line 41 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.StandardHeader().ToString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 42 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRule()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 43 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.TitleDiv(DbEntry).ToString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 44 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.PostCreatedByAndUpdatedOnDiv(DbEntry).ToString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 46 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.PostBodyDiv(DbEntry).ToString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 47 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRule()));

            #line default
            #line hidden
            this.Write("\r\n    <div class=\"information-section\">\r\n        ");

            #line 49 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.TagList(DbEntry).ToString()));

            #line default
            #line hidden
            this.Write("\r\n        ");

            #line 50 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(BodyContentReferences.RelatedContentTag(DbEntry, GenerationVersion).Result));

            #line default
            #line hidden
            this.Write("\r\n        ");

            #line 52 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.PreviousAndNextPostsDiv(PreviousPosts, LaterPosts)));

            #line default
            #line hidden
            this.Write("\r\n        ");

            #line 54 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.UpdateNotesDiv(DbEntry).ToString()));

            #line default
            #line hidden
            this.Write("\r\n    </div>\r\n    ");

            #line 56 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRule()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 57 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PostHtml\SinglePostPage.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());
        }
Exemplo n.º 7
0
        /// <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 8 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\LinkListHtml\LinkListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(ListTitle.HtmlEncode()));

            #line default
            #line hidden
            this.Write("</title>\r\n\r\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=" +
                       "1.0\">\r\n    \r\n    <link rel=\"alternate\" type=\"application/rss+xml\" \r\n      title=" +
                       "\"");

            #line 13 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\LinkListHtml\LinkListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture($"RSS Feed for {UserSettingsSingleton.CurrentSettings().SiteName} - {ListTitle}".HtmlEncode()));

            #line default
            #line hidden
            this.Write("\"     \r\n      href=\"https:");

            #line 15 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\LinkListHtml\LinkListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(RssUrl));

            #line default
            #line hidden
            this.Write("\" />\r\n\r\n    ");

            #line 17 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\LinkListHtml\LinkListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.CssStyleFileString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 18 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\LinkListHtml\LinkListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.FavIconFileString()));

            #line default
            #line hidden
            this.Write("\r\n</head>\r\n\r\n<body>\r\n    ");

            #line 22 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\LinkListHtml\LinkListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.StandardHeader().ToString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 23 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\LinkListHtml\LinkListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRule()));

            #line default
            #line hidden
            this.Write("\r\n    <h1 class=\"index-title-content\">");

            #line 24 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\LinkListHtml\LinkListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture($"{ListTitle}"));

            #line default
            #line hidden
            this.Write("</h1>\r\n    <div class=\"search-input-container\">\r\n        <input type=\"text\" class" +
                       "=\"search-input\" id=\"userSearchText\" onkeyup=\"searchContent()\" placeholder=\"Searc" +
                       "h ");

            #line 26 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\LinkListHtml\LinkListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(ListTitle));

            #line default
            #line hidden
            this.Write("...\">\r\n    </div>\r\n    ");

            #line 28 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\LinkListHtml\LinkListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(LinkTableTag()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 29 "C:\Code\PointlessWaymarksCmsSpatiaLite\PointlessWaymarksCmsData\Html\LinkListHtml\LinkListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Footer.StandardFooterDiv()));

            #line default
            #line hidden
            this.Write(@"

<script>
    function searchContent() {
      // Declare variables
      var input, filterText, contentDivs, loopDiv, i, divDataText;
      input = document.getElementById('userSearchText');
      filterText = input.value.toUpperCase();
      contentDivs = document.getElementsByClassName('content-list-item-container');

      // Loop through all list items, and hide those who don't match the search query
      for (i = 0; i < contentDivs.length; i++) {
        loopDiv = contentDivs[i];
	    divDataText = loopDiv.getAttribute('data-title').concat(
		    loopDiv.getAttribute('data-summary'),
		    loopDiv.getAttribute('data-tags')).toUpperCase();

        if (divDataText.indexOf(filterText) > -1) {
		    loopDiv.style.display = """";
        } else {
		    loopDiv.style.display = ""none"";
        }
      }
    }
</script>

</body>

</html>");
            return(this.GenerationEnvironment.ToString());
        }
Exemplo n.º 8
0
        /// <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 10 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\SearchListHtml\SearchListPage.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 12 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\SearchListHtml\SearchListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(ListTitle.HtmlEncode()));

            #line default
            #line hidden
            this.Write("</title>\r\n\r\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=" +
                       "1.0\">\r\n\r\n    ");

            #line 16 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\SearchListHtml\SearchListPage.tt"

            if (!string.IsNullOrWhiteSpace(RssUrl))
            {
            #line default
            #line hidden
                this.Write("    <link rel=\"alternate\" type=\"application/rss+xml\" \r\n      title=\"");

            #line 21 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\SearchListHtml\SearchListPage.tt"
                this.Write(this.ToStringHelper.ToStringWithCulture($"RSS Feed for {UserSettingsSingleton.CurrentSettings().SiteName} - {ListTitle}".HtmlEncode()));

            #line default
            #line hidden
                this.Write("\"     \r\n      href=\"https:");

            #line 23 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\SearchListHtml\SearchListPage.tt"
                this.Write(this.ToStringHelper.ToStringWithCulture(RssUrl));

            #line default
            #line hidden
                this.Write("\" />\r\n    ");

            #line 24 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\SearchListHtml\SearchListPage.tt"
            }

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 27 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\SearchListHtml\SearchListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.CssStyleFileString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 28 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\SearchListHtml\SearchListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.FavIconFileString()));

            #line default
            #line hidden
            this.Write("\r\n    <script src=\"");

            #line 29 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\SearchListHtml\SearchListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(UserSettingsSingleton.CurrentSettings().SearchListJavascriptUrl()));

            #line default
            #line hidden
            this.Write("\"></script>\r\n</head>\r\n\r\n<body>\r\n    ");

            #line 33 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\SearchListHtml\SearchListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.StandardHeader().ToString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 34 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\SearchListHtml\SearchListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRule()));

            #line default
            #line hidden
            this.Write("\r\n    <h1 class=\"index-title-content\">");

            #line 35 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\SearchListHtml\SearchListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture($"Search {ListTitle}"));

            #line default
            #line hidden
            this.Write("</h1>\r\n    <div class=\"search-input-container\">\r\n        <input type=\"text\" class" +
                       "=\"search-input enable-after-loading wait-cursor\" id=\"userSearchText\" onkeyup=\"se" +
                       "archContent()\" disabled placeholder=\"Search ");

            #line 37 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\SearchListHtml\SearchListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(ListTitle));

            #line default
            #line hidden
            this.Write("...\">\r\n    </div>\r\n    ");

            #line 39 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\SearchListHtml\SearchListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(FilterCheckboxesTag()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 40 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\SearchListHtml\SearchListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(ContentTableTag()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 41 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\SearchListHtml\SearchListPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRule()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 42 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\SearchListHtml\SearchListPage.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());
        }
Exemplo n.º 9
0
        /// <summary>
        /// Create the template output
        /// </summary>
        public virtual string TransformText()
        {
            this.Write("<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head data-contentversion=\"");

            #line 5 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.ContentVersion.ToString("yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fffffff")));

            #line default
            #line hidden
            this.Write("\" data-generationversion=\"");

            #line 5 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.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 7 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Title.HtmlEncode()));

            #line default
            #line hidden
            this.Write("</title>\r\n    <meta name=\"description\" content=\"");

            #line 8 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Summary.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name=\"author\" content=\"");

            #line 9 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.CreatedBy.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name=\"keywords\" content=\"");

            #line 10 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Tags.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\" >\r\n\r\n    <meta property=\"og:site_name\" content=\"");

            #line 12 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SiteName.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\" />\r\n    <meta property=\"og:url\" content=\"https:");

            #line 13 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.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 15 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Title.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\" />\r\n    <meta property=\"og:description\" content=\"");

            #line 16 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Summary.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\" />\r\n\r\n    ");

            #line 18 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.OpenGraphImageMetaTags(PictureInformation)));

            #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 22 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Title.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name =\"DC.Creator\" content=\"");

            #line 23 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.CreatedBy.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name =\"DC.Publisher\" content=\"");

            #line 24 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SiteName.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name=\"DC.Description\" content=\"");

            #line 25 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.Summary.HtmlEncode()));

            #line default
            #line hidden
            this.Write("\">\r\n    <meta name=\"DC.Date\" content=\"");

            #line 26 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(DbEntry.CreatedOn.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 32 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.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 34 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.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 39 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.CssStyleFileString()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 40 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.FavIconFileString()));

            #line default
            #line hidden
            this.Write("\r\n\r\n    ");

            #line 42 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(SpatialScripts.IncludeIfNeeded(DbEntry)));

            #line default
            #line hidden
            this.Write("\r\n</head>\r\n\r\n<body class=\"single-photo-body\">\r\n    ");

            #line 46 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(PictureInformation.PictureFigureWithTitleCaptionTag("100vw")));

            #line default
            #line hidden
            this.Write("\r\n    <div class=\"information-section\">\r\n        ");

            #line 49 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(PhotoDetails.PhotoDetailsDiv(DbEntry).ToString()));

            #line default
            #line hidden
            this.Write("\r\n        ");

            #line 51 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.PostBodyDiv(DbEntry).ToString()));

            #line default
            #line hidden
            this.Write("\r\n        ");

            #line 52 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.TagList(DbEntry).ToString()));

            #line default
            #line hidden
            this.Write("\r\n        ");

            #line 53 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(BodyContentReferences.RelatedContentTag(DbEntry, GenerationVersion).Result));

            #line default
            #line hidden
            this.Write("\r\n        ");

            #line 55 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.CreatedByAndUpdatedOnDiv(DbEntry).ToString()));

            #line default
            #line hidden
            this.Write("\r\n        ");

            #line 57 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(Tags.UpdateNotesDiv(DbEntry).ToString()));

            #line default
            #line hidden
            this.Write("\r\n    </div>\r\n    ");

            #line 59 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.tt"
            this.Write(this.ToStringHelper.ToStringWithCulture(HorizontalRule.StandardRule()));

            #line default
            #line hidden
            this.Write("\r\n    ");

            #line 60 "C:\Code\PointlessWaymarksCms05\PointlessWaymarksCmsData\Html\PhotoHtml\SinglePhotoPage.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());
        }
Exemplo n.º 10
0
        /// <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());
        }