Compare commits

...

2 commits

Author SHA1 Message Date
f8b2acc696
Move matrix homeserver files to static directory 2024-05-03 10:56:46 +03:00
ca785e81a7
Remove project section 2024-05-03 10:51:47 +03:00
6 changed files with 2 additions and 48 deletions

View file

@ -10,12 +10,6 @@ OUT_DIR := "public"
git checkout -B gh-pages
touch .nojekyll
# Create matrix homeserver files
# Remove it or change it to your server
mkdir -p .well-known/matrix/
echo '{"m.homeserver": {"base_url": "https://matrix.4rs.nl}}' > .well-known/matrix/client
echo '{"m.server": "matrix.4rs.nl:443"}' > .well-known/matrix/server
git add .
git commit -m "Deploy blog to github pages"
git remote add origin $(git --git-dir ../.git remote get-url github)

View file

@ -140,7 +140,6 @@ social_media_card = "img/social_cards/index.jpg"
menu = [
{name = "blog", url = "b/"},
{name = "archive", url = "a/"},
{name = "projects", url = "p/"},
]
# Extra menu to show on the footer, below socials section.

View file

@ -1,9 +0,0 @@
+++
title = "مشاريعي"
sort_by = "weight"
template = "cards.html"
insert_anchor_links = "left"
[extra]
social_media_card = "/img/social_cards/projects.jpg"
+++

View file

@ -1,32 +0,0 @@
+++
title = "الوسيطة salvo-captcha"
description = "وسيطة (middleware) في إطار العمل salvo تمكنك من إضافة CAPTCHA إلى تطبيقك بسهولة"
weight = 30
[extra]
local_image = "/img/projects/salvo-captcha/banner.png"
canonical_url = "https://4rs.nl/p/salvo-captcha/"
+++
<!-- social_media_card = "/img/projects/salvo-captcha/social.jpg" -->
هي وسيطة تساعدك على اضافة CAPTCHA إلى تطبيقك بسهولة.
## مثال
![المثال](/img/projects/salvo-captcha/example.gif)
## طريقة إستخدامها
اولآ عليك ان تضيفها في `Cargo.toml` كالتالي:
<div dir=ltr>
```toml
[dependencies]
# ...
salvo-captcha = "0.1"
```
</div>
.... لم يتم الانتهاء من الكتابة

View file

@ -0,0 +1 @@
{"m.homeserver": {"base_url": "https://matrix.4rs.nl"}}

View file

@ -0,0 +1 @@
{"m.server": "matrix.4rs.nl:443"}