diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-02-07 19:20:16 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-02-08 19:56:29 +0100 |
| commit | 40d193b330443ea074f42674ed18f463fc8e422e (patch) | |
| tree | c3abfa115f38923afbadea6d38b4da0ca5e8e7ef /build.sh | |
| parent | 0990b4df19b1e8c42c8a1c22fc77fb9e836b379c (diff) | |
| download | quatuorbellefeuille.com-40d193b330443ea074f42674ed18f463fc8e422e.tar.xz | |
Move images and stylesheets in subfolders
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -38,7 +38,8 @@ sed -i s/'{TITLE}'/"${title}"/ ${output} link_stylesheets='' for s in "${stylesheets[@]}" do - link_stylesheets+=$(printf '<link rel="stylesheet" href="%s.css">\n' "${s}") + link_template='<link rel="stylesheet" href="stylesheets/%s.css">\n' + link_stylesheets+=$(printf "${link_template}" "${s}") done sed -i /'{STYLESHEETS}'/'c\'"${link_stylesheets}" ${output} |
