Compare commits
No commits in common. "f8b2acc696564995b3a4ac1f6651255b787b9909" and "8462acb5df0d7a53c155a832dddf3c577908792d" have entirely different histories.
f8b2acc696
...
8462acb5df
6 changed files with 48 additions and 2 deletions
6
Justfile
6
Justfile
|
@ -10,6 +10,12 @@ OUT_DIR := "public"
|
||||||
git checkout -B gh-pages
|
git checkout -B gh-pages
|
||||||
touch .nojekyll
|
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 add .
|
||||||
git commit -m "Deploy blog to github pages"
|
git commit -m "Deploy blog to github pages"
|
||||||
git remote add origin $(git --git-dir ../.git remote get-url github)
|
git remote add origin $(git --git-dir ../.git remote get-url github)
|
||||||
|
|
|
@ -140,6 +140,7 @@ social_media_card = "img/social_cards/index.jpg"
|
||||||
menu = [
|
menu = [
|
||||||
{name = "blog", url = "b/"},
|
{name = "blog", url = "b/"},
|
||||||
{name = "archive", url = "a/"},
|
{name = "archive", url = "a/"},
|
||||||
|
{name = "projects", url = "p/"},
|
||||||
]
|
]
|
||||||
|
|
||||||
# Extra menu to show on the footer, below socials section.
|
# Extra menu to show on the footer, below socials section.
|
||||||
|
|
9
content/p/_index.md
Normal file
9
content/p/_index.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
+++
|
||||||
|
title = "مشاريعي"
|
||||||
|
sort_by = "weight"
|
||||||
|
template = "cards.html"
|
||||||
|
insert_anchor_links = "left"
|
||||||
|
|
||||||
|
[extra]
|
||||||
|
social_media_card = "/img/social_cards/projects.jpg"
|
||||||
|
+++
|
32
content/p/salvo-captcha/index.md
Normal file
32
content/p/salvo-captcha/index.md
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
+++
|
||||||
|
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>
|
||||||
|
|
||||||
|
.... لم يتم الانتهاء من الكتابة
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
{"m.homeserver": {"base_url": "https://matrix.4rs.nl"}}
|
|
|
@ -1 +0,0 @@
|
||||||
{"m.server": "matrix.4rs.nl:443"}
|
|
Loading…
Reference in a new issue