Update 'src/generate-website-from-md'

This commit is contained in:
Thelie 2021-10-17 14:33:28 +02:00
parent cf0c101375
commit a1d3f9dd89

View file

@ -1,5 +1,22 @@
#!/bin/sh #!/bin/sh
# Copyright (c) 2021 Daniel Mowitz <xslfeed.daniel@mowitz.rocks>
#
# This file is part of xslfeed.
#
# xslfeed is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# xslfeed is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with xslfeed. If not, see <https://www.gnu.org/licenses/>.
file=$1 file=$1
style=$2 style=$2
html_file=${file::-3}.html html_file=${file::-3}.html