diff --git a/content/docs/api/db/obj/contents.lr b/content/docs/api/db/obj/contents.lr index b824d3ac..59bf502a 100644 --- a/content/docs/api/db/obj/contents.lr +++ b/content/docs/api/db/obj/contents.lr @@ -16,7 +16,7 @@ database. There are two types of source objects: * [Assets :ref](../asset/) which are files and directories from the `assets/` folder. -Whatever object you have in hands that comes from the database, they will +Whatever object you have in hand that comes from the database, they will at least provide a minimal useful set of API methods and properties. Plugins can subclass source objects to come up with their own source diff --git a/content/docs/api/db/pad/contents.lr b/content/docs/api/db/pad/contents.lr index 51c1785f..ac711971 100644 --- a/content/docs/api/db/pad/contents.lr +++ b/content/docs/api/db/pad/contents.lr @@ -14,7 +14,7 @@ The `Pad` is a helper class that provides basic access to querying the database. Inside templates an instance of it is available under the `site` variable automatically. -To understand what the pad does you need to consider what it does. The +To understand what the pad does you need to consider what it is. The pad is similar to a `connection` in a regular database. Whenever you load a record it's temporarily cached on the pad. So unless you overflow the cache, loading the object a second time will most likely return an diff --git a/content/docs/api/db/system-fields/attachment-type/contents.lr b/content/docs/api/db/system-fields/attachment-type/contents.lr index 5471f6e7..6e08eacc 100644 --- a/content/docs/api/db/system-fields/attachment-type/contents.lr +++ b/content/docs/api/db/system-fields/attachment-type/contents.lr @@ -6,9 +6,12 @@ type: sysfield --- body: -This indicates the type of the attachment. Currently only a small set of -attachments is detected. The most useful attachment type is `image` which -identifies images. The attachments are detected by the file extension. +This indicates the type of the attachment, which is detected by file extension. +Currently only a small set of attachment types are detected, with the most +useful one being `image`. !!!! This feature in many ways does not entirely work as you would expect -and should be taken is something that will improve in future versions. +and should be taken as something that will improve in future versions. + +Read more about attachments +[in the content section :ref](../../../../content/attachments/contents.lr) diff --git a/content/docs/api/plugins/events/process-template-context/contents.lr b/content/docs/api/plugins/events/process-template-context/contents.lr index 9518769d..c6a144ed 100644 --- a/content/docs/api/plugins/events/process-template-context/contents.lr +++ b/content/docs/api/plugins/events/process-template-context/contents.lr @@ -12,8 +12,8 @@ This event is emitted right before a template is rendered and can be used to inject values directly into the template context. The context is always provided and is a dictionary that can be modified. -What's important to know that this is not the only way to modify the template -context. Another one is to modify the underlying [Jinja Environment +It's important to know that this is not the only way to modify the template +context. Another method is to modify the underlying [Jinja Environment :ref](../../../environment/jinja-env/) on the environment directly. The difference is that the globals from the `jinja_env` are available in *all* templates whereas the modified template context is only available in the diff --git a/content/docs/api/plugins/plugin/description/contents.lr b/content/docs/api/plugins/plugin/description/contents.lr index eb720b8f..cdb20818 100644 --- a/content/docs/api/plugins/plugin/description/contents.lr +++ b/content/docs/api/plugins/plugin/description/contents.lr @@ -7,7 +7,7 @@ summary: The human readable plugin description. body: This is a short string with some more explanation of what the plugin does. -It's shown in the UI to give the user some ideas about it's operation. +It's shown in the UI to give the user some ideas about its operation. ## Example diff --git a/content/docs/plugins/list/contents.lr b/content/docs/plugins/list/contents.lr index 10b8d208..37c80b03 100644 --- a/content/docs/plugins/list/contents.lr +++ b/content/docs/plugins/list/contents.lr @@ -52,8 +52,13 @@ so they might not keep pace with development on Lektor. * [thumbnail-generator :ext](https://github.com/skorokithakis/lektor-thumbnail-generator): A plugin allowing you to generate configurable thumbnails for all your attachment images, so you can link them in your posts * [rst :ext](https://github.com/fschulze/lektor-rst): A [reStructuredText](http://docutils.sourceforge.net) plugin * [make :ext](https://github.com/BarnabyShearer/lektor-make): Run `make lektor` for custom build systems +* [jinja-content :ext](https://github.com/terminal-labs/lektor-jinja-content) Enable Jinja with the [Template Context](https://www.getlektor.com/docs/templates/#template-context) in your content fields, e.g. combining Jinja and Markdown. +* [slugify :ext](https://github.com/terminal-labs/lektor-slugify) Add a Jinja filter to slugify unicode. +* [natural-language :ext](https://github.com/terminal-labs/lektor-natural-language) Add filters to do basic natural language processing with NLTK. Find keywords and sentence structure naturally. +* [strip-html-tags :ext](https://github.com/terminal-labs/lektor-strip-html-tags) Add a filter to transform HTML into simple text by stripping HTML tags. * [npm-support :ext](https://github.com/sterin/lektor-npm-support): adds support for using npm/yarn to build assets in Lektor using tools such as [Parcel](https://parcel.js.org), [webpack](https://webpack.js.org), etc. + ! Have your own plugin and you want to see it here? Just [edit this page on GitHub :ref](https://github.com/lektor/lektor-website/edit/master/content/docs/plugins/list/contents.lr), add your plugin to the list and send a pull request. diff --git a/content/showcase/andrew-shay/1-frontpage.png b/content/showcase/andrew-shay/1-frontpage.png new file mode 100644 index 00000000..0db23b98 Binary files /dev/null and b/content/showcase/andrew-shay/1-frontpage.png differ diff --git a/content/showcase/andrew-shay/2-blog.png b/content/showcase/andrew-shay/2-blog.png new file mode 100644 index 00000000..ae07fdd9 Binary files /dev/null and b/content/showcase/andrew-shay/2-blog.png differ diff --git a/content/showcase/andrew-shay/contents.lr b/content/showcase/andrew-shay/contents.lr new file mode 100644 index 00000000..fabe0f4e --- /dev/null +++ b/content/showcase/andrew-shay/contents.lr @@ -0,0 +1,11 @@ +name: Andrew Shay +--- +url: https://www.andrewshay.me +--- +cover_image: 1-frontpage.png +--- +description: + +This is my personal website that I use to showcase my projects and discuss software engineering. + +[View the Sourcecode on GitHub](https://github.com/Andrew-Shay/andrew_shay_me_website)