diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-12-23 12:08:17 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-12-23 12:08:17 +0100 |
commit | 9a77fa012d9eda53a45fbbec8c79c02ac50ce57f (patch) | |
tree | 8f843fc81538dbcc839f0bbe05e7d4e46e580b27 /deploy.sh | |
parent | d923d7db22abf8b4145239cea7aad6b6e056c156 (diff) | |
download | harcdzielnia-9a77fa012d9eda53a45fbbec8c79c02ac50ce57f.tar.gz harcdzielnia-9a77fa012d9eda53a45fbbec8c79c02ac50ce57f.zip |
Updaty
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh index dd55d69..9df74cc 100755 --- a/deploy.sh +++ b/deploy.sh @@ -7,6 +7,7 @@ cp logo-* style.css dest cat _index_header.html > dest/index.html for f in $(find itemy -name '*.md'); do file=$(basename $f .md) + cp itemy/$file.jpg dest/$file.jpg title=$(grep '^# ' $f | head -n 1 | cut -c 3-) echo "<li><a href=\"$file.html\">$title</a></li>" >> dest/index.html cat _header.html > dest/$file.html |