Skip to content

Commit

Permalink
Transfer to hugo-porto theme
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmolyuk committed Apr 20, 2024
1 parent 09d100e commit dffd09d
Show file tree
Hide file tree
Showing 114 changed files with 417 additions and 6,644 deletions.
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Hugo output directory and temporary files
/public/
/resources/
# Hugo workfiles and public folder
.hugo_build.lock
public
resources/_gen

# Misc
# Mac OS files
.DS_Store
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

7 changes: 7 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"MD013": {
"line_length": 120,
"code_block_line_length": 120,
"heading_line_length": 120
}
}
12 changes: 0 additions & 12 deletions .prettierrc

This file was deleted.

27 changes: 18 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
.PHONY: build
.DEFAULT_GOAL: lint
.NOTPARALLEL:
.SILENT:

lint:
markdownlint **/*.md
@PHONY: lint

build:
hugo --gc --minify --cleanDestinationDir

.PHONY: dev
dev:
hugo server --buildDrafts --buildFuture --disableFastRender --noHTTPCache --navigateToChanged --templateMetricsHints --templateMetrics --verbose --watch --port 1313

.PHONY: convert
convert:
cd ./content/post && ./convert-images.sh && find . -type f -name '*.jpg' -delete && find . -type f -name '*.png' -delete && cd ../..
.PHONY: build

dev: lint
hugo server --buildDrafts --buildFuture --disableFastRender --noHTTPCache --navigateToChanged --templateMetricsHints --templateMetrics --verbose --watch --port 1313
@PHONY: dev

upgrade:
hugo mod get -u ./...
hugo mod tidy
@PHONY: upgrade
1 change: 0 additions & 1 deletion archetypes/default.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
tags: []
draft = true
+++
Binary file added assets/images/avatar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions assets/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 0 additions & 8 deletions content/page/search.md

This file was deleted.

36 changes: 0 additions & 36 deletions content/post/convert-images.sh

This file was deleted.

76 changes: 0 additions & 76 deletions content/post/cron-job-monitoring/index.md

This file was deleted.

54 changes: 0 additions & 54 deletions content/post/getting-started/index.md

This file was deleted.

Loading

0 comments on commit dffd09d

Please sign in to comment.