This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # export all | |
| gpg --export-secret-keys > keys.key | |
| # on another machine | |
| gpg --import keys.key | |
| # <Optional> import changes the trust status to unknown | |
| # You can | |
| # 1. export and impor the trust db | |
| gpg --export-ownertrust > trust.db |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {{ $src := .Page.Resources.GetMatch (printf "images/%s" (.Get "src")) }} | |
| {{ $quality := default "q75" (.Get "quality") }} | |
| {{ $sizes := slice "400" "600" "800" "1200" }} | |
| {{ $jpgSrcSet := slice }} | |
| {{ $webpSrcSet := slice }} | |
| {{ range $i, $size := $sizes }} | |
| {{ $jpgImage := ($src.Resize (printf "%sx %s jpg" $size $quality)) }} |
OlderNewer