diff --git a/apps/website/Dockerfile b/apps/website/Dockerfile index 4702440..b472592 100644 --- a/apps/website/Dockerfile +++ b/apps/website/Dockerfile @@ -62,6 +62,7 @@ RUN set -eu; \ COPY httpd-php-fpm.conf /etc/apache2/conf.d/php-fpm.conf COPY opcache.ini /usr/local/etc/php/conf.d/zz-opcache.ini COPY php-fpm-runtime.conf /usr/local/etc/php-fpm.d/zz-runtime.conf +COPY render-static-pages.sh /usr/local/bin/render-static-pages COPY start-website.sh /usr/local/bin/start-website COPY . /var/www/localhost/htdocs/ @@ -74,10 +75,13 @@ RUN rm -f /var/www/localhost/htdocs/index.html && \ /var/log/apache2 \ /var/www/localhost/htdocs/db \ /tmp/website-lang && \ + chmod 0755 /usr/local/bin/render-static-pages && \ + /usr/local/bin/render-static-pages /var/www/localhost/htdocs && \ chown -R apache:apache \ /run/apache2 \ /var/log/apache2 \ /var/www/localhost/htdocs/db \ + /var/www/localhost/htdocs/static-pages \ /tmp/website-lang && \ chmod 0755 /usr/local/bin/start-website diff --git a/apps/website/blog.php b/apps/website/blog.php index b7d67f0..41f58be 100644 --- a/apps/website/blog.php +++ b/apps/website/blog.php @@ -1,6 +1,5 @@ [ @@ -814,7 +811,12 @@ function renderStackSourceLinks(string $stackKey, array $sourceLinks, string $so -
- -
- - - -