Merge branch 'creating-go-actions' of https://gitea.com/Zettat123/blog into creating-go-actions

This commit is contained in:
Zettat123 2023-04-17 14:26:44 +08:00
commit c8c0788ec3
18 changed files with 349 additions and 57 deletions

View file

@ -1,60 +1,3 @@
---
kind: pipeline
type: docker
name: Build and deploy live website
platform:
os: linux
arch: arm64
workspace:
base: /srv/app
path: src
steps:
- name: build
pull: always
image: golang:1.19
commands:
- make clean
- make build
- name: publish
pull: always
image: techknowlogick/drone-netlify:latest
settings:
path: public/
site_id: b3cd7cc2-68be-4467-b3a6-38f1fdfa0cfc
environment:
NETLIFY_TOKEN:
from_secret: netlify_token
when:
event:
- push
- name: discord
pull: always
image: appleboy/drone-discord:1
environment:
DISCORD_WEBHOOK_ID:
from_secret: discord_webhook_id
DISCORD_WEBHOOK_TOKEN:
from_secret: discord_webhook_token
when:
event:
- push
- tag
status:
- changed
- failure
trigger:
branch:
- main
event:
exclude:
- pull_request
---
kind: pipeline
type: docker

View file

@ -0,0 +1,36 @@
name: build and publish
on:
push:
branches:
- main
jobs:
lint:
name: build and publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: https://github.com/peaceiris/actions-hugo@v2
with:
hugo-version: '0.111.3'
extended: true
- name: setup go
uses: https://github.com/actions/setup-go@v4
with:
go-version: '>=1.20.1'
- name: Build
run: |
make clean
make build
- name: publish to netlify
uses: https://github.com/nwtgck/actions-netlify@v2.0
with:
publish-dir: public
production-branch: main
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: b3cd7cc2-68be-4467-b3a6-38f1fdfa0cfc

View file

@ -0,0 +1,24 @@
name: check-and-test
on:
- push
- pull_request
jobs:
check-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Hugo
uses: https://github.com/peaceiris/actions-hugo@v2
with:
hugo-version: '0.111.3'
extended: true
- name: setup go
uses: https://github.com/actions/setup-go@v4
with:
go-version: '>=1.20.1'
- name: Build
run: |
make clean
make build

View file

@ -19,6 +19,12 @@ params:
author: Gitea
website: https://blog.gitea.io
outputs:
home:
- HTML
- RSS
- JSON
menu:
page:
- name: Website

View file

@ -0,0 +1,157 @@
---
date: "2023-04-08T19:00:00+08:00"
authors:
- "sillyguodong"
- "delvh"
- "jolheiser"
title: "Gitea x Asciicast | Recording and viewing terminal sessions on Gitea"
tags: []
draft: false
---
As of 1.19.0, Gitea supports `asciicast`!
Maybe this is the first time you've heard of asciicast.
This blog will teach you how to use asciicast, and how it relates to Gitea.
## What is asciicast?
As programmers, we often work with terminals and the command line.
Sometimes, we encounter unfamiliar commands.
Othertimes, the output of commands is not what we expect.
In both these cases, we need to show someone else what we did and what the output is.
Most often, we would record this in a text format.
But have you ever thought about recording it on video?
An asciicast file is exactly that: A text-based recording of a terminal session.
It even offers some additional awesome features we'll go over below.
asciicast files typically have the file extension `.cast` and follow the [newline-delimited JSON](https://jsonlines.org/) file specification.
Here is an example of a `.cast` file:
```json
{"version": 2, "width": 255, "height": 69, "timestamp": 1680420731, "env": {"SHELL": "/bin/zsh", "TERM": "xterm-256color"}}
[0.110535, "o", "\u001b[1m\u001b[7m%\u001b[27m\u001b[1m\u001b[0m \r \r\u001b]2;gedong@chifangongju:~/Downloads\u0007\u001b]1;~/Downloads\u0007"]
[0.133176, "o", "\r\u001b[0m\u001b[27m\u001b[24m\u001b[J\u001b[01;32m➜ \u001b[36mDownloads\u001b[00m \u001b[K"]
[0.133293, "o", "\u001b[?1h\u001b=\u001b[?2004h"]
[3.419088, "o", "\u001b[?2004l\r\r\n"]
```
- The **first line** is usually called the **header**. It is a JSON-encoded object which contains recording meta-data.
In this meta-data, in addition to the required attributes `version`, `width` and `height`, there are also optional attributes such as `timestamp`, `env`, `theme` and so on.
- Each of the remaining lines represents an event. All of the events together form an event stream of the entire recording.
An event is a JSON array which has three elements, like below:
```json
[time, event-type, event-data]
```
- `time`: float, the number of seconds since the recording has begun.
- `event-type`: string, one of `"o"` or `"i"`.
- `"o"` represents new data printed to stdout (output).
- `"i"` represents character(s) typed in by the user (input).
- `event-data`: event specific data, described separately for each event type.
### Notes
- The latest version of asciicast files is version 2, which solves several problems that couldn't be easily fixed.
This introduction to acsiicast is also based on version 2.
- version 1 should not be used anymore, and is also not supported by Gitea.
The reason for that is especially that version 1 didn't specify a file extension, so any file could be an asciicast file.
- For more information on asciicast, see their [introduction](https://github.com/asciinema/asciinema/blob/develop/doc/asciicast-v2.md).
## Asciicast on Gitea
You should have a general understanding of asciicast now.
But how do we obtain an asciicast file and how do we use it in conjunction with Gitea?
Both questions will be answered below.
[Asciinema](https://github.com/asciinema/asciinema) is an open source software which lets you easily record your terminal and replay the recordings in a terminal as well as in the web browser.
### Install Asciinema
Installing `Asciinema` is our first step.
The asciinema [installation docs](https://asciinema.org/docs/installation) describe how to install it depending on which platform you are using.
As of the time of this post, asciinema does not support windows terminals.
### Prepare your repository
This is my demo [repository](https://gitea.com/sillyguodong/asciicast_test) that I'm going to use on gitea.com, which I have cloned locally.
### Recording a terminal session
From the root of the project:
```shell
asciinema rec $FILENAME.cast
```
This will start a new recording.
![run asciinema](/demos/asciicast/rec-start.png)
As you can hopefully see, asciinema tells you where the recording will be stored (if you don't specify a file name. Otherwise it will be saved at the specified path) and how to stop the recording (type `exit` or <kbd>Ctrl-D</kbd>).
You can temporarily pause the recording by pressing <kbd>Ctrl-\\</kbd>.
After exiting:
![recording end](/demos/asciicast/rec-end.png)
asciinema tells you that recording has finished and was stored successfully.
The following GIF shows the recording process.
![recording process](/demos/asciicast/recording-process.gif)
`hello_asciicast.cast` is generated in the root path of the local repository.
### Push asciicast file to remote reposirtory
```shell
git add .
git commit -m "add a cast file"
git push
```
Now we can see the file in the remote repository:
![push remote](/demos/asciicast/push-remote.png)
### Asciicast on Gitea
After uploading an asciicast file to your Gitea repository, you can choose to view the `source` or you can view the rendered video.
Viewing `source`:
![view source code of the video](/demos/asciicast/view-source.png)
Viewing `render`:
![view rendered asciicast video](/demos/asciicast/view-render.png)
Start playing it:
![play asciicast video](/demos/asciicast/play.gif)
One of the key benefits of asciicast videos is that the text contained in it can be selected.
So, you can for example copy and paste the text from it:
![copy and paste](/demos/asciicast/copy-and-paste.gif)
### Embed in markdown
At the moment, an asciicast file can only be embedded implicitly into Markdown by adding something like the following construct:
```markdown
[![session recording](/demos/asciicast/hello_asciicast_pic.png)](/src/branch/main/hello_asciicast.cast)
```
We highly recommend that you use Markdown and Asciicast on Gitea to build your work and study notes.
This is for example what's happening in the [`README`](https://gitea.com/sillyguodong/asciicast_test/src/branch/main/README.md) file of the [asciicast demo repository](https://gitea.com/sillyguodong/asciicast_test).
Not only is this more visual than code blocks, but the content is also replicable.
This is a pseudo embedding achieved by displaying an image of the recording that links to the recording when clicked on.
---
Perhaps it will be possible in the future to embed an asciicast file directly into Markdown.
For now, this is as close as it gets.
Still, have fun recording and viewing asciicast files! :movie_camera:

View file

@ -0,0 +1,121 @@
---
date: "2023-04-13T09:13:47+07:00"
authors:
- "jolheiser"
- "delvh"
title: "Gitea 1.19.1 is released"
tags: ["release"]
draft: false
---
We are proud to present the release of Gitea version 1.19.1.
We highly encourage users to update to this version for some important bug-fixes.
We have merged [95](https://github.com/go-gitea/gitea/pulls?q=is%3Apr+milestone%3A1.19.1+is%3Amerged) pull requests to release this version.
:exclamation: If you are using `actions.actions` in `DISABLED_REPO_UNITS` or `DEFAULT_REPO_UNITS`, it will be treated as an invalid unit key.
It has been changed to `repo.actions` for consistency.
If you haven't placed it there explicitly, no action is required.
While Gitea aims for stability in already released versions, we decided to release this breaking change in 1.19.1 because Gitea Actions are still experimental and this option was previously undocumented, so we expect that a vast majority of users are likely unaffected.
You can download one of our pre-built binaries from our [downloads page](https://dl.gitea.io/gitea/1.19.1/) - make sure to select the correct platform! For further details on how to install, follow our [installation guide](https://docs.gitea.io/en-us/install-from-binary/).
We would also like to thank all of our supporters on [Open Collective](https://opencollective.com/gitea) who are helping to sustain us financially.
**Have you heard? We now have a [swag shop](https://shop.gitea.io)! :shirt: :tea:**
<!--more-->
## Changelog
## [1.19.1](https://github.com/go-gitea/gitea/releases/tag/v1.19.1) - 2023-04-12
<!-- Changelog Details -->
* BREAKING
* Rename actions unit to `repo.actions` and add docs for it ([#23733](https://github.com/go-gitea/gitea/pull/23733)) ([#23881](https://github.com/go-gitea/gitea/pull/23881))
* ENHANCEMENTS
* Add cardtype to org/user level project on creation, edit and view ([#24043](https://github.com/go-gitea/gitea/pull/24043)) ([#24066](https://github.com/go-gitea/gitea/pull/24066))
* Refactor commit status for Actions jobs ([#23786](https://github.com/go-gitea/gitea/pull/23786)) ([#24060](https://github.com/go-gitea/gitea/pull/24060))
* Show errors for KaTeX and mermaid on the preview tab ([#24009](https://github.com/go-gitea/gitea/pull/24009)) ([#24019](https://github.com/go-gitea/gitea/pull/24019))
* Show protected branch rule names again ([#23907](https://github.com/go-gitea/gitea/pull/23907)) ([#24018](https://github.com/go-gitea/gitea/pull/24018))
* Adjust sticky pr header to cover background ([#23956](https://github.com/go-gitea/gitea/pull/23956)) ([#23999](https://github.com/go-gitea/gitea/pull/23999))
* Discolor pull request tab labels ([#23950](https://github.com/go-gitea/gitea/pull/23950)) ([#23987](https://github.com/go-gitea/gitea/pull/23987))
* Treat PRs with agit flow as fork PRs when triggering actions. ([#23884](https://github.com/go-gitea/gitea/pull/23884)) ([#23967](https://github.com/go-gitea/gitea/pull/23967))
* Left-align review comments ([#23937](https://github.com/go-gitea/gitea/pull/23937))
* Fix image border-radius ([#23886](https://github.com/go-gitea/gitea/pull/23886)) ([#23930](https://github.com/go-gitea/gitea/pull/23930))
* Scroll collapsed file into view ([#23702](https://github.com/go-gitea/gitea/pull/23702)) ([#23929](https://github.com/go-gitea/gitea/pull/23929))
* Fix code view (diff) broken layout ([#23096](https://github.com/go-gitea/gitea/pull/23096)) ([#23918](https://github.com/go-gitea/gitea/pull/23918))
* Org pages style fixes ([#23901](https://github.com/go-gitea/gitea/pull/23901)) ([#23914](https://github.com/go-gitea/gitea/pull/23914))
* Fix user profile description rendering ([#23882](https://github.com/go-gitea/gitea/pull/23882)) ([#23902](https://github.com/go-gitea/gitea/pull/23902))
* Fix review box viewport overflow issue ([#23800](https://github.com/go-gitea/gitea/pull/23800)) ([#23898](https://github.com/go-gitea/gitea/pull/23898))
* Prefill input values in oauth settings as intended ([#23829](https://github.com/go-gitea/gitea/pull/23829)) ([#23871](https://github.com/go-gitea/gitea/pull/23871))
* CSS color tweaks ([#23828](https://github.com/go-gitea/gitea/pull/23828)) ([#23842](https://github.com/go-gitea/gitea/pull/23842))
* Fix incorrect visibility dropdown list in add/edit user page ([#23804](https://github.com/go-gitea/gitea/pull/23804)) ([#23833](https://github.com/go-gitea/gitea/pull/23833))
* Add CSS rules for basic colored labels ([#23774](https://github.com/go-gitea/gitea/pull/23774)) ([#23777](https://github.com/go-gitea/gitea/pull/23777))
* Add creation time in tag list page ([#23693](https://github.com/go-gitea/gitea/pull/23693)) ([#23773](https://github.com/go-gitea/gitea/pull/23773))
* Fix br display for packages curls ([#23737](https://github.com/go-gitea/gitea/pull/23737)) ([#23764](https://github.com/go-gitea/gitea/pull/23764))
* Fix issue due date edit toggle bug ([#23723](https://github.com/go-gitea/gitea/pull/23723)) ([#23758](https://github.com/go-gitea/gitea/pull/23758))
* Improve commit graph page UI alignment ([#23751](https://github.com/go-gitea/gitea/pull/23751)) ([#23754](https://github.com/go-gitea/gitea/pull/23754))
* Use GitHub Actions compatible globbing for `branches`, `tag`, `path` filter ([#22804](https://github.com/go-gitea/gitea/pull/22804)) ([#23740](https://github.com/go-gitea/gitea/pull/23740))
* Redirect to project again after editing it ([#23326](https://github.com/go-gitea/gitea/pull/23326)) ([#23739](https://github.com/go-gitea/gitea/pull/23739))
* Remove row clicking from notification table ([#22695](https://github.com/go-gitea/gitea/pull/22695)) ([#23706](https://github.com/go-gitea/gitea/pull/23706))
* Remove conflicting CSS rules on notifications, improve notifications table ([#23565](https://github.com/go-gitea/gitea/pull/23565)) ([#23621](https://github.com/go-gitea/gitea/pull/23621))
* Fix diff tree height and adjust target file style ([#23616](https://github.com/go-gitea/gitea/pull/23616))
* BUGFIXES
* Improve error logging for LFS ([#24072](https://github.com/go-gitea/gitea/pull/24072)) ([#24082](https://github.com/go-gitea/gitea/pull/24082))
* Fix custom mailer template on Windows platform ([#24081](https://github.com/go-gitea/gitea/pull/24081))
* Update the value of `diffEnd` when clicking the `Show More` button in the DiffFileTree ([#24069](https://github.com/go-gitea/gitea/pull/24069)) ([#24078](https://github.com/go-gitea/gitea/pull/24078))
* Make label templates have consistent behavior and priority ([#23749](https://github.com/go-gitea/gitea/pull/23749))
* Fix accidental overwriting of LDAP team memberships ([#24050](https://github.com/go-gitea/gitea/pull/24050)) ([#24065](https://github.com/go-gitea/gitea/pull/24065))
* Fix branch protection priority ([#24045](https://github.com/go-gitea/gitea/pull/24045)) ([#24061](https://github.com/go-gitea/gitea/pull/24061))
* Use actions job link as commit status URL instead of run link ([#24023](https://github.com/go-gitea/gitea/pull/24023)) ([#24032](https://github.com/go-gitea/gitea/pull/24032))
* Add actions support to package auth verification ([#23729](https://github.com/go-gitea/gitea/pull/23729)) ([#24028](https://github.com/go-gitea/gitea/pull/24028))
* Fix protected branch for API ([#24013](https://github.com/go-gitea/gitea/pull/24013)) ([#24027](https://github.com/go-gitea/gitea/pull/24027))
* Do not escape space between PyPI repository url and package name… ([#23981](https://github.com/go-gitea/gitea/pull/23981)) ([#24008](https://github.com/go-gitea/gitea/pull/24008))
* Fix redirect bug when creating issue from a project ([#23971](https://github.com/go-gitea/gitea/pull/23971)) ([#23997](https://github.com/go-gitea/gitea/pull/23997))
* Set `ref` to fully-formed of the tag when trigger event is `release` ([#23944](https://github.com/go-gitea/gitea/pull/23944)) ([#23989](https://github.com/go-gitea/gitea/pull/23989))
* Use Get/Set instead of Rename when Regenerate session id ([#23975](https://github.com/go-gitea/gitea/pull/23975)) ([#23983](https://github.com/go-gitea/gitea/pull/23983))
* Ensure RSS icon is present on all repo tabs ([#23904](https://github.com/go-gitea/gitea/pull/23904)) ([#23973](https://github.com/go-gitea/gitea/pull/23973))
* Remove `Repository.getFilesChanged` to fix Actions `paths` and `paths-ignore` filter ([#23920](https://github.com/go-gitea/gitea/pull/23920)) ([#23969](https://github.com/go-gitea/gitea/pull/23969))
* Delete deleted release attachments immediately from storage ([#23913](https://github.com/go-gitea/gitea/pull/23913)) ([#23958](https://github.com/go-gitea/gitea/pull/23958))
* Use ghost user if package creator does not exist ([#23822](https://github.com/go-gitea/gitea/pull/23822)) ([#23915](https://github.com/go-gitea/gitea/pull/23915))
* User/Org Feed render description as per web ([#23887](https://github.com/go-gitea/gitea/pull/23887)) ([#23906](https://github.com/go-gitea/gitea/pull/23906))
* Fix `cases.Title` crash for concurrency ([#23885](https://github.com/go-gitea/gitea/pull/23885)) ([#23903](https://github.com/go-gitea/gitea/pull/23903))
* Convert .Source.SkipVerify to $cfg.SkipVerify ([#23839](https://github.com/go-gitea/gitea/pull/23839)) ([#23899](https://github.com/go-gitea/gitea/pull/23899))
* Support "." char as user name for User/Orgs in RSS/ATOM/GPG/KEYS path ... ([#23874](https://github.com/go-gitea/gitea/pull/23874)) ([#23878](https://github.com/go-gitea/gitea/pull/23878))
* Fix JS error when changing PR's target branch ([#23862](https://github.com/go-gitea/gitea/pull/23862)) ([#23864](https://github.com/go-gitea/gitea/pull/23864))
* Fix 500 error if there is a name conflict when edit authentication source ([#23832](https://github.com/go-gitea/gitea/pull/23832)) ([#23852](https://github.com/go-gitea/gitea/pull/23852))
* Fix closed PR also triggers Webhooks and actions ([#23782](https://github.com/go-gitea/gitea/pull/23782)) ([#23834](https://github.com/go-gitea/gitea/pull/23834))
* Fix checks for `needs` in Actions ([#23789](https://github.com/go-gitea/gitea/pull/23789)) ([#23831](https://github.com/go-gitea/gitea/pull/23831))
* Fix "Updating branch by merge" bug in "update_branch_by_merge.tmpl" ([#23790](https://github.com/go-gitea/gitea/pull/23790)) ([#23825](https://github.com/go-gitea/gitea/pull/23825))
* Fix cancel button in the page of project edit not work ([#23655](https://github.com/go-gitea/gitea/pull/23655)) ([#23813](https://github.com/go-gitea/gitea/pull/23813))
* Don't apply the group filter when listing LDAP group membership if it is empty ([#23745](https://github.com/go-gitea/gitea/pull/23745)) ([#23788](https://github.com/go-gitea/gitea/pull/23788))
* Fix profile page email display, respect settings ([#23747](https://github.com/go-gitea/gitea/pull/23747)) ([#23756](https://github.com/go-gitea/gitea/pull/23756))
* Fix project card preview select and template select ([#23684](https://github.com/go-gitea/gitea/pull/23684)) ([#23731](https://github.com/go-gitea/gitea/pull/23731))
* Check LFS/Packages settings in dump and doctor command ([#23631](https://github.com/go-gitea/gitea/pull/23631)) ([#23730](https://github.com/go-gitea/gitea/pull/23730))
* Add git dashes separator to some "log" and "diff" commands ([#23606](https://github.com/go-gitea/gitea/pull/23606)) ([#23720](https://github.com/go-gitea/gitea/pull/23720))
* Create commit status when event is `pull_request_sync` ([#23683](https://github.com/go-gitea/gitea/pull/23683)) ([#23691](https://github.com/go-gitea/gitea/pull/23691))
* Fix incorrect `HookEventType` of pull request review comments ([#23650](https://github.com/go-gitea/gitea/pull/23650)) ([#23678](https://github.com/go-gitea/gitea/pull/23678))
* Fix incorrect `show-modal` and `show-panel` class ([#23660](https://github.com/go-gitea/gitea/pull/23660)) ([#23663](https://github.com/go-gitea/gitea/pull/23663))
* Improve workflow event triggers ([#23613](https://github.com/go-gitea/gitea/pull/23613)) ([#23648](https://github.com/go-gitea/gitea/pull/23648))
* Introduce path Clean/Join helper functions, partially backport&refactor ([#23495](https://github.com/go-gitea/gitea/pull/23495)) ([#23607](https://github.com/go-gitea/gitea/pull/23607))
* Fix pagination on `/notifications/watching` ([#23564](https://github.com/go-gitea/gitea/pull/23564)) ([#23603](https://github.com/go-gitea/gitea/pull/23603))
* Fix submodule is nil panic ([#23588](https://github.com/go-gitea/gitea/pull/23588)) ([#23601](https://github.com/go-gitea/gitea/pull/23601))
* Polyfill the window.customElements ([#23592](https://github.com/go-gitea/gitea/pull/23592)) ([#23595](https://github.com/go-gitea/gitea/pull/23595))
* Avoid too long names for actions ([#23162](https://github.com/go-gitea/gitea/pull/23162)) ([#23190](https://github.com/go-gitea/gitea/pull/23190))
* TRANSLATION
* Backport locales (with manual fixes) ([#23808](https://github.com/go-gitea/gitea/pull/23808), [#23634](https://github.com/go-gitea/gitea/pull/23634), [#24083](https://github.com/go-gitea/gitea/pull/24083))
* BUILD
* Hardcode path to docker images ([#23955](https://github.com/go-gitea/gitea/pull/23955)) ([#23968](https://github.com/go-gitea/gitea/pull/23968))
* DOCS
* Update documentation to explain which projects allow Gitea to host static pages ([#23993](https://github.com/go-gitea/gitea/pull/23993)) ([#24058](https://github.com/go-gitea/gitea/pull/24058))
* Merge `push to create`, `open PR from push`, and `push options` docs articles into one ([#23744](https://github.com/go-gitea/gitea/pull/23744)) ([#23959](https://github.com/go-gitea/gitea/pull/23959))
* Fix codeblocks in the cheat sheet ([#23664](https://github.com/go-gitea/gitea/pull/23664)) ([#23669](https://github.com/go-gitea/gitea/pull/23669))
* MISC
* Do not crash when parsing an invalid workflow file ([#23972](https://github.com/go-gitea/gitea/pull/23972)) ([#23976](https://github.com/go-gitea/gitea/pull/23976))
* Remove assertion debug code for show/hide refactoring ([#23576](https://github.com/go-gitea/gitea/pull/23576)) ([#23868](https://github.com/go-gitea/gitea/pull/23868))
* Add ONLY_SHOW_RELEVANT_REPOS back, fix explore page bug, make code more strict ([#23766](https://github.com/go-gitea/gitea/pull/23766)) ([#23791](https://github.com/go-gitea/gitea/pull/23791))
* Make minio package support legacy MD5 checksum ([#23768](https://github.com/go-gitea/gitea/pull/23768)) ([#23770](https://github.com/go-gitea/gitea/pull/23770))
* Improve template error reporting ([#23396](https://github.com/go-gitea/gitea/pull/23396)) ([#23600](https://github.com/go-gitea/gitea/pull/23600))

5
layouts/index.json Normal file
View file

@ -0,0 +1,5 @@
{{- $.Scratch.Add "index" slice -}}
{{- range .Site.RegularPages -}}
{{- $.Scratch.Add "index" (dict "title" .Title "tags" .Params.tags "contents" .Plain "permalink" .Permalink) -}}
{{- end -}}
{{- $.Scratch.Get "index" | jsonify -}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 773 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 670 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB