Skip to content

Commit

Permalink
fix images
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Mineev authored and umputun committed Aug 5, 2021
1 parent 8d33265 commit c5e3ea8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions site/.eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 3 additions & 2 deletions site/src/docs/configuration/email/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c5e3ea8

Please sign in to comment.