writing hugo subtree

Oct 28, 2020
1 min read

first heading within the post

  • this post will be exported as content/posts/writing-hugo-blog-in-org-file-export.md
  • its title will be “writing Hugo blog in org
  • it will have hugo and org tags and emacs as category
  • the lastmod property in the front-matter is set automatically to the time of export.
  • the menuitem identifier is auto-set
  • the menu item weight and post weight if needed have to be manully specified as show abve.

a sub-heading under the heading

  • it’s draft state will be marked as true because of #+HUGO_DRAFT: true.

with the point_anywhere_, do C-c C-e H h to export the whole file titled /Writing Hugo blog in org/to a hugo post.

the exported Markdown has a litter comment footer as set in the local variables section below

it autosave now. the title still not correct

try to update something.

import itertools

for i in itertools.repeat("Hello world", 3):
    print(i)
"hello world"
None
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import seaborn as sns
print("hell world")
print("nice to meet")

:results: nil:END: