Giter Club home page Giter Club logo

org-thtml's People

Contributors

juanjosegarciaripoll avatar magicrb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

org-thtml's Issues

Manually generating Table of Contents for more granular control over it's placement

I'd like to be able to generate a TOC in the templated html, I've found the function org-html-toc but I've got no idea what I should put as the scope argument. The closest I got is

(defun magic_rb/toc-print (name)
  (let ((parsetree (org-element-parse-buffer 'headline))) 
  (org-element-map parsetree 'headline 
                   (lambda (hl) (org-html-toc 9 (list "test") 'hl)))))

but it doesn't work.

How to execute org-thtml

Hi,

Your app it's exactly what i was looking for ... But i don't understand how to build the site within Emacs?

Thanks for your help!

Ciao

:each loop example

Hello @juanjosegarciaripoll,
Thank you so much for your work on this wonderful templating system. It is so close to what I want.

I have been able to replicate my website at https://balaramadurai.net (which is currently using org-mode and ox-hugo) using your template system.

I am stuck at two places.

  1. How do I extract the latest posts (latest 4) like I can do with hugo's theme?
  2. How do I use yaml like data formatting in org-mode like can be done with hugo? (hugo can read from set of yaml data to populate a html template) How do I do that with your template system?

Will :each help? In that case, can you please give some working examples of this looping system?

Thanks again for your work with this template system. It rocks!
Bala

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.