File tree Expand file tree Collapse file tree 4 files changed +95
-0
lines changed
Expand file tree Collapse file tree 4 files changed +95
-0
lines changed Original file line number Diff line number Diff line change @@ -550,6 +550,18 @@ else switch($path-parts[1])
550550 "document-id" : "hac" ,
551551 "section-id" : $path-parts[3 ]
552552 })
553+ case "reports" return
554+ if (empty ($path-parts[3 ])) then
555+ local:render-page ("about/reports/index.xml" , map{
556+ "publication-id" : "reports" ,
557+ "document-id" : "reports"
558+ })
559+ else
560+ local:render-page ("about/reports/report.xml" , map{
561+ "publication-id" : "reports" ,
562+ "document-id" : "reports" ,
563+ "section-id" : $path-parts[3 ]
564+ })
553565 case "contact-us" return local:render-page ('about/contact-us.xml' , map{ "publication-id" : "app" })
554566 case "the-historian" return local:render-page ('about/the-historian.xml' , map{ "publication-id" : "app" })
555567 case "recent-publications" return local:render-page ('about/recent-publications.xml' , map{ "publication-id" : "app" })
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <div data-template =" pages:load" >
3+ <div data-template =" templates:surround" data-template-at =" content"
4+ data-template-with =" templates/site.xml" >
5+ <div >
6+ <div class =" hidden" id =" static-title" >Reports - About Us</div >
7+ <div class =" row" >
8+ <div data-template =" pages:breadcrumb" >
9+ <p id =" breadcrumb-title" >Reports</p >
10+ </div >
11+ </div >
12+ <div class =" row hsg-main" >
13+ <div class =" hsg-width-two-thirds" >
14+ <div data-template =" app:fix-links" id =" content-inner" >
15+ <h1 >Reports</h1 >
16+ <p >Insert introduction to reports.</p >
17+ <ul >
18+ <li >Report to Congress on
19+ The Foreign Relations of the United States Historical Series for 2025
20+ 22 U.S.C. § 4354(e)</li >
21+ </ul >
22+ <!-- <div data-template="reports:report-list"/>-->
23+ </div >
24+ </div >
25+ <div class =" row" data-template =" pages:navigation" >
26+ <aside data-template =" pages:asides" />
27+ </div >
28+ </div >
29+ </div >
30+ </div >
31+ </div >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <div data-template =" pages:load" >
3+ <div data-template =" templates:surround" data-template-at =" content"
4+ data-template-with =" templates/site.xml" >
5+ <div >
6+ <div class =" hidden" id =" static-title" >
7+ <span data-template =" report:document-page-title" /> - Reports - About Us</div >
8+ <div class =" row" >
9+ <div data-template =" pages:breadcrumb" />
10+ </div >
11+ <div class =" row hsg-main" >
12+ <div class =" hsg-width-two-thirds" >
13+ <div data-template =" app:fix-links" id =" content-inner" >
14+ <h1 >
15+ <span data-template =" report:document-title" />
16+ </h1 >
17+ <p data-template =" report:document-pdf" />
18+ <p data-template =" report:document" />
19+ </div >
20+ </div >
21+ <aside data-template =" pages:asides" >
22+ <div class =" hsg-panel" data-template =" app:fix-links" id =" sections" >
23+ <div class =" hsg-panel-heading" >
24+ <h2 class =" hsg-sidebar-title" >
25+ <em >FRUS</em > History Documents</h2 >
26+ </div >
27+ <ul data-template =" report:document-list-full" />
28+ </div >
29+ </aside >
30+ </div >
31+ </div >
32+ </div >
33+ </div >
Original file line number Diff line number Diff line change 588588 <hsg : github href =" https://github.com/HistoryAtState/hac" />
589589 </config >
590590 </step >
591+ <step value =" reports" >
592+ <step key =" section" >
593+ <page-template href =" pages/about/reports/section.xml" >
594+ <with-param name =" publication-id" value =" reports" />
595+ <with-param name =" document-id" value =" reports" />
596+ <with-param keyval =" section" name =" section-id" />
597+ </page-template >
598+ <config >
599+ <src collection =" /db/apps/reports/data" />
600+ </config >
601+ </step >
602+ <page-template href =" pages/about/reports/index.xml" >
603+ <with-param name =" publication-id" value =" reports" />
604+ <with-param name =" document-id" value =" reports" />
605+ </page-template >
606+ <config >
607+ <hsg : github href =" https://github.com/HistoryAtState/other-publications" />
608+ </config >
609+ </step >
591610 <step value =" recent-publications" >
592611 <page-template href =" pages/about/recent-publications.xml" />
593612 </step >
You can’t perform that action at this time.
0 commit comments