.Kind (home): .Type (page) / .Layout ()
Bundle: branch
[ categories | tags | search ]
ox-hugo Test Site

This is the test site for the ox-hugo package for Emacs/Org-mode.

It is updated automatically after each commit to the ox-hugo repo. It was last updated on Jun 22, 2018 14:30 UTC.


This page was created/modified in commit f0dd0e2 "Support image copying for the homepage branch bundle case" on 2018-04-23.
Markdown source of this page

Content

Image in homepage branch bundle:


Resources

No TOC in Summary (without more comment marker)

(Last modified on Wed Jun 20, 2018)

By default, Hugo will dump everything at the beginning of a post into its .Summary (See Hugo content summaries). As TOC enabled using the export option like toc:t is inserted at the beginning of a post, TOC will be shown in that summary too!

In this example, the special comment more is not used. …

No TOC in Summary (with more comment marker)

(Last modified on Wed Jun 20, 2018)

By default, Hugo will dump everything at the beginning of a post into its .Summary (See Hugo content summaries). As TOC enabled using the export option like toc:t is inserted at the beginning of a post, TOC will be shown in that summary too!

In this example, the special comment more is used.

Italicize links with underscores

(Last modified on Wed Jun 20, 2018)

Test that links with underscores can be italicized/emboldened/both.

Image with Hugo figure shortcode parameters set using ATTR_HTML

(Last modified on Wed Jun 20, 2018)

ox-hugo Issue #17 Setting class parameter Discussion Setting alt parameter Reference Setting title parameter Logo Setting image caption The image caption can be set in two ways. Using the Org #+caption keyword Using #+attr_html: :caption my caption The #+caption is available will get the higher precedence. In the below image, caption is set using that: Some text before image. Figure 1: A unicorn!

Post with underscore in name

(Last modified on Wed Jun 20, 2018)

Test post to test another ox-hugo test.

神经网络基础

(Last modified on Wed Jun 20, 2018)

Disclaimer This post is from the link posted by GitHub user Vonng in this comment. All credit for this post goes to the original author. 神经网络相关基本知识笔记 神经网络表示 神经元模型 神经网络从大脑的工作原理得到启发,可用于解决通用的学习问题。神经网络的 基本组成单元是 神经元(neuron) 。每个神经元具有一个轴突和多个树突。每 个连接到本神经元的树突都是一个输入,当所有输入树突的兴奋水平之和超过某 一阈值,神经元就会被激活。激活的神经元会沿着其轴突发射信号,轴突分出数 以万计的树突连接至其他神经元,并将本神经元的输出并作为其他神经元的输入。 数学上,神经元可以用 感知机 的模型表示。 一个神经元的数学模型主要包括以下内容: 名称 符号 说明 输入 (input) \(x\) 列向量 权值 (weight) \(w\) 行向量,维度等于输入个数 偏置 (bias) \(b\) 标量值,是阈值的相反数 带权输入 (weighted input) \(z\) \(z=w · x + b\) ,激活函数的输入值 激活函数 (activation function) \(σ\) 接受带权输入,给出激活值。 激活值 (activation) \(a\) 标量值,\(a = σ(\vec{w}·\vec{x}+b)\) 激活函数表达式 \[ a = \sigma( \left[ \begin{matrix} w_{1} & ⋯ & w_{n} \\

Uniquify duplicate authors

(Last modified on Mon Jun 18, 2018)

Test that duplicate authors get uniquified in the export.

Using empty EXPORT_HUGO_SECTION

(Last modified on Wed Jun 13, 2018)

Case where EXPORT_HUGO_SECTION is set to nothing.

Setting EXPORT_HUGO_SECTION to "/"

(Last modified on Wed Jun 13, 2018)

Case where EXPORT_HUGO_SECTION is set to /.

HUGO_SECTION set in post subtree

(Last modified on Wed Jun 13, 2018)

Test where EXPORT_HUGO_SECTION is set in the post subtree itself.


SiteInfo (Debug)

SiteInfo VariableValue
Title "ox-hugo Test Site"
Author
KeyTypeValue
namestring "Kaushal Modi"
Social
KeyTypeValue
githubstring "kaushalmodi"
LastChange 2018-06-20 12:32:52 -0400 -0400
DisqusShortname ""
GoogleAnalytics ""
Copyright ""
RSSLink "https://ox-hugo.scripter.co/test/index.xml"
LanguageCode "en-us"
BuildDrafts true
Params
KeyTypeValue
custom_css[]interface {} "css/style.css"
descriptionstring "Test site for ox-hugo package for Emacs/Org-mode."
footerstring "<div style=\"text-align: center;\">\n [<a href=\"/\">Test Site home</a> | <a href=\"https://ox-hugo.scripter.co/\"><code>ox-hugo</code> home</a>]\n</div>\n"
introstring "This is the test site for the <a href=\"https://github.com/kaushalmodi/ox-hugo\">\n<code>ox-hugo</code></a> package for Emacs/Org-mode.\n"
mainSections[]string "posts"
mainsections[]string "posts"
sourcemap[string]interface {}
KeyTypeValue
md_dirstring "test/site/content"
org_dirstring "test/site/content-org"
urlstring "https://github.com/kaushalmodi/ox-hugo"

File Object (Debug)

FileInfo VariableValue
UniqueID "3976528693a0108357f4928017600865"
BaseFileName "_index"
TranslationBaseName "_index"
Lang "en"
Section ""
LogicalName "_index.md"
Dir ""
Ext "md"
Path "_index.md"

Menu (Debug)

KeyTypeValue
0.search*hugolib.Menu
MenuEntry VariableValue
Menu "0.search"
Title "Click to Search"
Name "Search"
URL "/search/"
Identifier "search"
Weight 2001
Pre ""
Post ""
Parent ""
Children
auto weight*hugolib.Menu
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 1 (HUGO_MENU as keyword)"
Name "Post with menu 1 (HUGO_MENU as keyword)"
URL "/posts/hugo-menu-as-keyword--post-with-menu-1/"
Identifier "post-with-menu-1--hugo-menu-as-keyword"
Weight 1001
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 2 (HUGO_MENU as keyword)"
Name "Post with menu 2 (HUGO_MENU as keyword)"
URL "/posts/hugo-menu-as-keyword--post-with-menu-2/"
Identifier "post-with-menu-2--hugo-menu-as-keyword"
Weight 1002
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 3 (HUGO_MENU as keyword)"
Name "Post with menu 3 (HUGO_MENU as keyword)"
URL "/posts/hugo-menu-as-keyword--post-with-menu-3/"
Identifier "post-with-menu-3--hugo-menu-as-keyword"
Weight 1003
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 4 (HUGO_MENU as keyword)"
Name "Post with menu 4 (HUGO_MENU as keyword)"
URL "/posts/hugo-menu-as-keyword--post-with-menu-4/"
Identifier "post-with-menu-4--hugo-menu-as-keyword"
Weight 1004
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 5 (HUGO_MENU as keyword)"
Name "Post with menu 5 (HUGO_MENU as keyword)"
URL "/posts/hugo-menu-as-keyword--post-with-menu-5/"
Identifier "post-with-menu-5--hugo-menu-as-keyword"
Weight 1005
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 1"
Name "Post with menu 1"
URL "/posts/post-with-menu-1/"
Identifier "post-with-menu-1"
Weight 4001
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 2"
Name "Post with menu 2"
URL "/posts/post-with-menu-2/"
Identifier "post-with-menu-2"
Weight 4002
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 3"
Name "Post with menu 3"
URL "/posts/post-with-menu-3/"
Identifier "post-with-menu-3"
Weight 4003
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 4"
Name "Post with menu 4"
URL "/posts/post-with-menu-4/"
Identifier "post-with-menu-4"
Weight 4004
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 5"
Name "Post with menu 5"
URL "/posts/post-with-menu-5/"
Identifier "post-with-menu-5"
Weight 4005
Pre ""
Post ""
Parent ""
Children
foo*hugolib.Menu
MenuEntry VariableValue
Menu "foo"
Title "Keyword Collection"
Name "Keyword Collection"
URL "/posts/keyword-collection/"
Identifier "keyword-collection"
Weight 10
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu ""
Title ""
Name "main"
URL ""
Identifier ""
Weight 0
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "foo"
Title "Single Post with TOML front matter"
Name "Single Post with TOML front matter"
URL "/singles/post-toml/"
Identifier "single-toml"
Weight 10
Pre ""
Post ""
Parent "main"
Children
MenuEntry VariableValue
Menu "foo"
Title "Single Post with YAML front matter"
Name "Single Post with YAML front matter"
URL "/singles/post-yaml/"
Identifier "single-yaml"
Weight 10
Pre ""
Post ""
Parent "main"
Children
MenuEntry VariableValue
Menu "foo"
Title "Single Post, but draft"
Name "Single Post, but draft"
URL "/singles/post-draft/"
Identifier "single-post-but-draft"
Weight 10
Pre ""
Post ""
Parent "main"
Children
main*hugolib.Menu
MenuEntry VariableValue
Menu "main"
Title "Writing Hugo blog in Org"
Name "Writing Hugo blog in Org"
URL "/writing-hugo-blog-in-org-subtree-export/"
Identifier "writing-hugo-blog-in-org"
Weight 2001
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "main"
Title "Writing Hugo blog in Org (File Export)"
Name "Writing Hugo blog in Org (File Export)"
URL "/writing-hugo-blog-in-org-file-export/"
Identifier "writing-hugo-blog-in-org--file-export"
Weight 2001
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu ""
Title ""
Name "posts"
URL ""
Identifier ""
Weight 0
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "main"
Title "Menu Meta Data in YAML Front Matter"
Name "Menu Meta Data in YAML Front Matter"
URL "/posts/menu-meta-data-yaml/"
Identifier "yaml-menu-override"
Weight 25
Pre ""
Post ""
Parent "posts"
Children
MenuEntry VariableValue
Menu "main"
Title "White space in menu name"
Name "Menu in YAML"
URL "/posts/menu-meta-data-yaml3/"
Identifier "white-space-in-menu-name"
Weight 25
Pre ""
Post ""
Parent "posts"
Children
something here*hugolib.Menu
MenuEntry VariableValue
Menu "something here"
Title "White space in menu entry"
Name "White space in menu entry"
URL "/posts/menu-meta-data-yaml2/"
Identifier "white-space-in-menu-entry"
Weight 25
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu ""
Title ""
Name "posts"
URL ""
Identifier ""
Weight 0
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "something here"
Title "Overriding few menu properties"
Name "Overriding few menu properties"
URL "/posts/menu-alist-meta-data-toml-override-partial/"
Identifier "ov-partial"
Weight 10
Pre ""
Post ""
Parent "posts"
Children
test*hugolib.Menu
MenuEntry VariableValue
Menu "test"
Title "Overriding menu properties completely"
Name "Overriding menu properties completely"
URL "/posts/menu-alist-meta-data-toml-override-full/"
Identifier "overriding-menu-properties-completely"
Weight 50
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "test"
Title "Page title for menu"
Name "Menu Title property"
URL "/posts/menu-title-property/"
Identifier "menu-title-property"
Weight 3003
Pre ""
Post ""
Parent ""
Children

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.43-DEV (commit 187621ae, using Chroma commit d7b2ed2) .
[Test Site home | ox-hugo home]