Code Monkey home page Code Monkey logo

Comments (7)

fniessen avatar fniessen commented on August 28, 2024

I thought that, when there was no explicit #+TITLE, Org inserted the file name as title, during the export. Isn't that true (anymore)?

from org-html-themes.

modulitos avatar modulitos commented on August 28, 2024

@player1537 thanks! I encountered this issue as well, and adding an explicit #+TITLE: heading fixes the broken javascript/tabs at the top.

from org-html-themes.

Nielius avatar Nielius commented on August 28, 2024

This is indeed something that changed. The org-mode site lists as one of the incompatible changes for version 8.3 (see http://orgmode.org/Changes.html):

No default title is provided when TITLE keyword is missing

Skipping TITLE keyword no longer provides the current file name, or buffer name, as the title. Instead, > simply ignore the title.

I would like to have this fixed (it would be annoying to have to add titles to every file I export), and might look into it myself later.

from org-html-themes.

Nielius avatar Nielius commented on August 28, 2024

One solution is the following change in the definition of tabifySections in bigblow.js (which just leaves out any title and puts the tabs on the top of the screen):

// insert tabs menu after title (`h1'), or at the beginning of the content.
    if($('.title').length !== 0) {
        $('.title').after(tabs);
    }
    else {
        $('#content').prepend(tabs);
    }

Should I make this into some kind of proposed commit? (I'm new to GitHub.)

from org-html-themes.

fniessen avatar fniessen commented on August 28, 2024

@Nielius Thanks for having looked into this, and for providing a fix. No need to make a PR (unless you want that commit to list you as the author -- which is perfectly acceptable!); otherwise, I'll simply copy/paste it...

from org-html-themes.

Nielius avatar Nielius commented on August 28, 2024

In that case, please go ahead and copy/paste. I'll have to read about how pull requests work another time.

from org-html-themes.

fniessen avatar fniessen commented on August 28, 2024

DONE.

Thanks!

from org-html-themes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.