From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: Tuning the layout of published html Date: Tue, 19 Jul 2016 15:30:41 +0200 Message-ID: References: <87poq9dbax.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPV70-0007a0-A3 for emacs-orgmode@gnu.org; Tue, 19 Jul 2016 09:31:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPV6v-0004Ad-PU for emacs-orgmode@gnu.org; Tue, 19 Jul 2016 09:31:02 -0400 Received: from mail2.b1.hitrost.net ([91.185.211.205]:39912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPV6v-00048A-Ia for emacs-orgmode@gnu.org; Tue, 19 Jul 2016 09:30:57 -0400 In-reply-to: <87poq9dbax.fsf@iki.fi> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Jarmo Hurri Cc: emacs-orgmode@gnu.org Hi, No need for derived backends. You could just add both the title bar and the navigation bar in the HTML preamble to each page, and position the different parts as needed with CSS. If you're using Org's publishing function, define a :html-preamble in org-publish-project-alist. Yours, Christian Jarmo Hurri writes: > Greetings. > > I am writing teaching material (for programming) using Org. All the > material (text, figures, code, program outputs) are written using Org > and Babel-supported languages. Publishing to html works just fine. What > I would like to do, however, is to add some layout structure to the > produced html. > > More specifically, I would like to add, on all pages, a navigation bar > on the left-hand side and a title bar with no functionality on the top > of each page. > > What options do I have to accomplish this? Searches led me to "derived > backends," but they sound like an overkill for a task that is this > simple. Or? > > Jarmo