Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
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
Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist Twitter : @cmoulliard |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Is https://github.com/asciidoctor/asciidoctor/issues/486 what you're looking for?
On Mon, Nov 18, 2013 at 11:23 AM, ch007m [via Asciidoctor :: Discussion] <[hidden email]> wrote: Hi, ... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
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:
... [show rest of quote] Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.github.io
Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist Twitter : @cmoulliard |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
|
Charles, -DanFor what you are trying to do, modifying the document template is the right way to go. On Fri, Nov 22, 2013 at 1:03 AM, ch007m [via Asciidoctor :: Discussion] <[hidden email]> wrote:
... [show rest of quote] -- Dan Allen | http://google.com/profiles/dan.j.allen |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
This is what I have done and I'm thinking to propose to add new attributes that everyone could use to add a footer or header image to the document template. Does it make sense ? footer-image::
src src[alt, width, height, position]header-image::src[alt, width, height, position] where css looks like /* Define New image */ .footer-image .header-image {
margin:auto; text-align:center; // Should correspond to the position selected } Until now, I'm not sure (using less, sass) if it could be possible to pass the position as a variable @position to text-align ?
On Sun, Nov 24, 2013 at 11:53 PM, mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:
... [show rest of quote] Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.github.io
Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist Twitter : @cmoulliard |
Free forum by Nabble | Edit this page |