Login  Register

Re: Is there a way to add a banner / footer to a group of asciidoc

Posted by mojavelinux on Nov 24, 2013; 10:50pm
URL: https://discuss.asciidoctor.org/Is-there-a-way-to-add-a-banner-footer-to-a-group-of-asciidoc-tp1012p1075.html

Charles,

For what you are trying to do, modifying the document template is the right way to go.

-Dan


On Fri, Nov 22, 2013 at 1:03 AM, ch007m [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I tried to use what is described in the ticket without success. So, until now, I have modified the HTML5 document.html.haml file to include header and footer

Header

   - unless noheader
      -# AsciiDoc leaves an empty header div even if there's no doctitle
      #header
        - # Include Image
        %img{:src => 'images/Image.png', :width => '1024', :height => '152', :align => 'center'}


Footer

    #footer
      - # Include  Image
      .footer-image
        %img{:src => 'images/rhImage.png', :width => '597', :height => '77'}
      #footer-text




On Thu, Nov 21, 2013 at 8:41 PM, LightGuardjp [via Asciidoctor :: Discussion] <[hidden email]> wrote:


On Mon, Nov 18, 2013 at 11:23 AM, ch007m [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi,

Is there an option to add a banner and/or footer  (= HTML page containing logo and generated from asciidoc - include image) to a list/group of asciidoc processed ?

Example

page1.adoc
page2.doc
page3.doc

After rendering

page1.html should start with banner followed by HTML of page1 and pages3 should finish with footer

Regards,

Charles


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Is-there-a-way-to-add-a-banner-footer-to-a-group-of-asciidoc-tp1012.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Is-there-a-way-to-add-a-banner-footer-to-a-group-of-asciidoc-tp1012p1045.html
To unsubscribe from Is there a way to add a banner / footer to a group of asciidoc, click here.
NAML



--
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io




If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Is-there-a-way-to-add-a-banner-footer-to-a-group-of-asciidoc-tp1012p1048.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | http://google.com/profiles/dan.j.allen