feat(layout): add afterBody
This commit is contained in:
		@@ -14,6 +14,7 @@ interface RenderComponents {
 | 
			
		||||
  header: QuartzComponent[]
 | 
			
		||||
  beforeBody: QuartzComponent[]
 | 
			
		||||
  pageBody: QuartzComponent
 | 
			
		||||
  afterBody: QuartzComponent[]
 | 
			
		||||
  left: QuartzComponent[]
 | 
			
		||||
  right: QuartzComponent[]
 | 
			
		||||
  footer: QuartzComponent
 | 
			
		||||
@@ -187,6 +188,7 @@ export function renderPage(
 | 
			
		||||
    header,
 | 
			
		||||
    beforeBody,
 | 
			
		||||
    pageBody: Content,
 | 
			
		||||
    afterBody,
 | 
			
		||||
    left,
 | 
			
		||||
    right,
 | 
			
		||||
    footer: Footer,
 | 
			
		||||
@@ -232,6 +234,12 @@ export function renderPage(
 | 
			
		||||
                </div>
 | 
			
		||||
              </div>
 | 
			
		||||
              <Content {...componentData} />
 | 
			
		||||
              <hr />
 | 
			
		||||
              <div class="page-footer">
 | 
			
		||||
                {afterBody.map((BodyComponent) => (
 | 
			
		||||
                  <BodyComponent {...componentData} />
 | 
			
		||||
                ))}
 | 
			
		||||
              </div>
 | 
			
		||||
            </div>
 | 
			
		||||
            {RightComponent}
 | 
			
		||||
          </Body>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user