Skip to content

Commit

Permalink
Config: harmonize config file names
Browse files Browse the repository at this point in the history
  • Loading branch information
cagix committed Mar 2, 2024
1 parent ddf59a6 commit 9dde8b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ METADATA = ki.yaml
## Top level directory for source files
SRC_DIR = lecture

## local.yaml allows to override settings in hugo_conf.yaml
## local.yaml allows to override settings in hugo.yaml
HUGO_LOCAL = $(wildcard local.yaml)

## Filename of "landing pages": usually "readme.md"
Expand Down Expand Up @@ -93,7 +93,7 @@ DOT_ARGS = -Tpng
PANDOC_ARGS = --metadata-file=$(METADATA) $(PANDOC_DIRS)

## Define options to be used by Hugo
HUGO_ARGS = --config hugo_conf.yaml,$(HUGO_LOCAL) $(HUGO_DIRS) --contentDir $(TEMP_DIR) --destination $(WEB_OUTPUT_DIR) --printPathWarnings --panicOnWarning
HUGO_ARGS = --config hugo.yaml,$(HUGO_LOCAL) $(HUGO_DIRS) --contentDir $(TEMP_DIR) --destination $(WEB_OUTPUT_DIR) --printPathWarnings --panicOnWarning

#--------------------------------------------------------------------------------
# I/O Directories
Expand Down Expand Up @@ -250,8 +250,8 @@ $(WEB_IMAGE_TARGETS):
## Hugo: Process markdown with pandoc (preprocessing for hugo)
$(WEB_MARKDOWN_TARGETS):
$(create-folder)
$(PANDOC) $(PANDOC_ARGS) -L hugo_rewritelinks.lua -s -d hugo -M weight=$(WEIGHT) -M indexMD=$(INDEX_MD) -M warp=$(WARP_DIR) $< -o $@
# $(PANDOC) $(PANDOC_ARGS) -d hugo -M weight=$(WEIGHT) -M indexMD=$(INDEX_MD) -M warp=$(WARP_DIR) $< -o $@
$(PANDOC) $(PANDOC_ARGS) -L hugo_rewritelinks.lua -s -d relearn -M weight=$(WEIGHT) -M indexMD=$(INDEX_MD) -M warp=$(WARP_DIR) $< -o $@
# $(PANDOC) $(PANDOC_ARGS) -d relearn -M weight=$(WEIGHT) -M indexMD=$(INDEX_MD) -M warp=$(WARP_DIR) $< -o $@

## Slides: Generate pdf slides
## Folder structure and names: path/name.md, path/<images>/, path_name.pdf
Expand Down
File renamed without changes.

0 comments on commit 9dde8b4

Please sign in to comment.