diff --git a/layouts/partials/bridgy.html b/layouts/partials/bridgy.html index 153aeaf3..e2b844ea 100644 --- a/layouts/partials/bridgy.html +++ b/layouts/partials/bridgy.html @@ -3,32 +3,9 @@ {{ end }} diff --git a/layouts/partials/bridgy/micro.html b/layouts/partials/bridgy/micro.html new file mode 100644 index 00000000..4690bde6 --- /dev/null +++ b/layouts/partials/bridgy/micro.html @@ -0,0 +1 @@ + {{ .Content }} diff --git a/layouts/partials/bridgy/photos.html b/layouts/partials/bridgy/photos.html new file mode 100644 index 00000000..a38d917e --- /dev/null +++ b/layouts/partials/bridgy/photos.html @@ -0,0 +1,9 @@ +{{ .Content }} +{{ with .Resources.ByType "image" }} +{{ range . }} +{{ $image := . }} +{{ if $image }} +{{ $.Description }} +{{ end }} +{{ end }} +{{ end }} diff --git a/makefile b/makefile index 7dfeb44e..720ae497 100644 --- a/makefile +++ b/makefile @@ -16,7 +16,7 @@ clean: cache gomodule ## Clean the directory of the project of chache e meta fil @find . -type d -empty -delete .PHONY: run -run: clean ## Build the site cleaning all +run: clean ## Build the site cleaning all @hugo --minify .PHONY: gomodule @@ -36,13 +36,13 @@ send_webmention: ## Send webmention from feed @uv run python send_webmention.py develop: ## Run the site localy - @hugo server --minify --disableFastRender --renderToMemory + @hugo server --disableFastRender --renderToMemory developfuture: ## Run the site localy with all the future article - @hugo server --minify --disableFastRender --buildFuture --renderToMemory + @hugo server --disableFastRender --buildFuture --renderToMemory developall: ## Run the site localy with all the article, future or drafts - @hugo server --minify --disableFastRender --buildFuture --buildDrafts --renderToMemory + @hugo server --disableFastRender --buildFuture --buildDrafts --renderToMemory .PHONY: hydra hydra: ## Check links @@ -76,7 +76,7 @@ deploy: update characters webmention syndication## Ready to deploy brodcast: clean ## Brodcast the site @hugo server --disableFastRender --buildFuture --buildDrafts -bind=0.0.0.0 -deploy_prod: ## Ready to deploy +deploy_prod: ## Ready to deploy @npm update @hugo mod get -u @hugo --minify