fix images

This commit is contained in:
Pavel Mineev
2021-08-05 03:23:51 -05:00
committed by Umputun
parent 8d33265487
commit c5e3ea898d
5 changed files with 5 additions and 3 deletions
+1
View File
@@ -52,6 +52,7 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addWatchTarget('./.tmp/style.css')
eleventyConfig.addPassthroughCopy({ './.tmp/style.css': './style.css' })
eleventyConfig.addPassthroughCopy({ './public': './' })
eleventyConfig.addPassthroughCopy('./src/**/*.{gif,jpg,png,svg}')
eleventyConfig.addCollection('pages', (collection) =>
collection.getFilteredByGlob('pages/*.md')
+1 -1
View File
@@ -11,7 +11,7 @@
"yarn": ">=1.22"
},
"scripts": {
"dev": "npm-run-all clean -p dev:*",
"dev": "npm run clean && npm run dev:css | npm run dev:11ty",
"dev:11ty": "eleventy --serve --watch --quiet",
"dev:css": "postcss ./src/styles.css -o .tmp/style.css -w",
"build": "cross-env NODE_ENV=production run-s clean build:* --print-label",

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

+3 -2
View File
@@ -13,14 +13,14 @@ This documentation describes how to enable the email-related capabilities of Rem
enabling this will let the user log in using their emails:
![Email authentication](email_auth.png?raw=true)
![Email authentication](images/email_auth.png)
- email notifications for any users except anonymous:
GitHub or Google or Twitter or any other kind of user gets the ability to get
email notifications about new replies to their comments (and any of the replies down the tree):
![Email notifications subscription](email_notifications.png?raw=true)
![Email notifications subscription](images/email_notifications.png)
## Setup email server connection
@@ -224,6 +224,7 @@ Remark42 uses golang templates for email templating. Templates are located in `b
For getting access to the files you can use package `templates` from `backend/app/templates`
Now we have following templates:
- `email_confirmation_login.html.tmpl` used for confirmation of login
- `email_confirmation_subscription.html.tmpl` used for confirmation of subscription
`email_reply.html.tmpl` used for sending replies to user comments (when user subscribed to it) and for noticing admins about new comments on a site