Skip to content

Commit

Permalink
testing post with ox-hugo
Browse files Browse the repository at this point in the history
  • Loading branch information
RenWenshan committed Nov 2, 2022
1 parent 4ad72b7 commit 061ebe6
Show file tree
Hide file tree
Showing 7 changed files with 94 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Generated files by hugo
/public/
/resources/_gen/
/assets/jsconfig.json
/themes/
hugo_stats.json

# Temporary lock file while building
/.hugo_build.lock
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/zen"]
path = themes/zen
url = https://github.com/frjo/hugo-theme-zen.git
39 changes: 39 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
baseurl: "https://renwenshan.github.io"
title: "RWS Write"
theme: "zen"
languageCode: "en-US"
rssLimit: 36

params:
cookieConsent: false
contact: "wenshan.ren@live.org"
copyright: "Copyright © 2022 Wenshan Ren"
dateformat: ""
description: "Wenshan Ren's Blog"
footer: ""
favicon: ""
icon: ""
image: ""
imageMaxWidth: "640"
jquery: true
logo: false
menuInHeader: true
mobileMenu: true
poweredby: false
realfavicongenerator: false
relatedposts: true
feedlinks: false
searchLimit: 1024
sidebar: true
submitted: true

outputFormats:
SearchIndex:
mediaType: "application/json"
baseName: "searchindex"
isPlainText: true
notAlternative: true

outputs:
home: ["HTML", "SearchIndex", "RSS"]
16 changes: 16 additions & 0 deletions content/posts/testing-testing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
+++
title = "Testing Testing"
author = ["Wenshan Ren"]
date = 2022-11-02
lastmod = 2022-11-02T15:01:28+11:00
tags = ["emacs", "hugo"]
categories = ["hack"]
draft = false
weight = 2001
+++

Hello World

<!--more-->

This is my first blog post with Emacs [ox-hugo](https://ox-hugo.scripter.co/) ~
7 changes: 7 additions & 0 deletions content/search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Search"
searchform: true

---

{{< search >}}
19 changes: 19 additions & 0 deletions ox-hugo.org
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#+hugo_base_dir: ./
#+hugo_section: ./posts

#+hugo_weight: auto
#+hugo_auto_set_lastmod: t

#+author: Wenshan Ren

* Hack :@hack:
** Testing Testing :emacs:hugo:
:PROPERTIES:
:EXPORT_FILE_NAME: testing-testing
:EXPORT_DATE: 2022-11-02
:END:

Hello World
#+HTML: <!--more-->

This is my first blog post with Emacs [[https://ox-hugo.scripter.co/][ox-hugo]] ~
1 change: 1 addition & 0 deletions themes/zen
Submodule zen added at 73635d

0 comments on commit 061ebe6

Please sign in to comment.