From a49af625bff391778a297915cb9c60b94feb4d51 Mon Sep 17 00:00:00 2001 From: Mats Rauhala Date: Mon, 25 Jan 2021 21:11:14 +0200 Subject: [PATCH] Projects page --- rauhala.info/css/default.css | 6 +++ rauhala.info/projects/2021-01-21-phrase.md | 23 +++++++++ rauhala.info/templates/default.html | 1 + rauhala.info/templates/post-list.html | 2 +- rauhala.info/templates/project-list.html | 8 +++ rauhala.info/templates/project.html | 6 +++ site/app/site.hs | 57 ++++++++++++++++------ 7 files changed, 88 insertions(+), 15 deletions(-) create mode 100644 rauhala.info/projects/2021-01-21-phrase.md create mode 100644 rauhala.info/templates/project-list.html create mode 100644 rauhala.info/templates/project.html diff --git a/rauhala.info/css/default.css b/rauhala.info/css/default.css index 381ff73..d4c370d 100644 --- a/rauhala.info/css/default.css +++ b/rauhala.info/css/default.css @@ -109,6 +109,12 @@ article .header { } } +.projectlist { + display: flex; + align-items: center; + justify-content: space-between; +} + @media (min-width: 640px) { body { width: 60rem; diff --git a/rauhala.info/projects/2021-01-21-phrase.md b/rauhala.info/projects/2021-01-21-phrase.md new file mode 100644 index 0000000..75862a7 --- /dev/null +++ b/rauhala.info/projects/2021-01-21-phrase.md @@ -0,0 +1,23 @@ +--- +title: phrase +github: https://github.com/MasseR/phrase +issues: https://github.com/MasseR/phrase/issues +badge: https://github.com/MasseR/phrase/workflows/Run nix build/badge.svg +--- + +This project is a command line tool for generating password phrases using the +[diceware method](https://diceware.dmuth.org/). The passwords are stored in a +folder structure that is compatible with the +[pass](https://www.passwordstore.org/) password store manager. + + + +``` +$ phrase asd +inlet area crux + +$ pass show asd +inlet area crux + +$ file ~/.password-store/asd.gpg +``` diff --git a/rauhala.info/templates/default.html b/rauhala.info/templates/default.html index 182f42f..2827a42 100644 --- a/rauhala.info/templates/default.html +++ b/rauhala.info/templates/default.html @@ -18,6 +18,7 @@ Home Posts + Projects git Contact diff --git a/rauhala.info/templates/post-list.html b/rauhala.info/templates/post-list.html index 71cf1b9..2853546 100644 --- a/rauhala.info/templates/post-list.html +++ b/rauhala.info/templates/post-list.html @@ -1,5 +1,5 @@