Skip to content

Commit

Permalink
update create-content.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sina-schlatter committed May 27, 2024
1 parent e42b66b commit 870e338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hugo/create-content.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ git clone https://github.com/alex-shpak/hugo-book ./${SITE_NAME}/themes/hugo-boo
mkdir -p ./${SITE_NAME}/content/docs

# REWRITING DETAILS
sed -i 's@<details><summary><b>@<details><summary>@g; s@</b></summary>@</summary>@g; s@<details><summary>@{{< expand "@g; s@</summary>@" >}}@g; s@</details>@{{< /expand >}}@g' *.md
sed -i 's@<details><summary><b>@<details><summary>@g; s@</b></summary>@</summary>@g; s@<details><summary>@{{<expand"@g; s@</summary>@">}}@g; s@</details>@{{</expand>}}@g' *.md

# COPY HUGO CONTENT
#cp -R hugo/config.yaml ./${SITE_NAME}
Expand Down

0 comments on commit 870e338

Please sign in to comment.