Compare commits
2 commits
8462acb5df
...
f8b2acc696
Author | SHA1 | Date | |
---|---|---|---|
f8b2acc696 | |||
ca785e81a7 |
6 changed files with 2 additions and 48 deletions
6
Justfile
6
Justfile
|
@ -10,12 +10,6 @@ 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,7 +140,6 @@ 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.
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
+++
|
|
||||||
title = "مشاريعي"
|
|
||||||
sort_by = "weight"
|
|
||||||
template = "cards.html"
|
|
||||||
insert_anchor_links = "left"
|
|
||||||
|
|
||||||
[extra]
|
|
||||||
social_media_card = "/img/social_cards/projects.jpg"
|
|
||||||
+++
|
|
|
@ -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>
|
|
||||||
|
|
||||||
.... لم يتم الانتهاء من الكتابة
|
|
||||||
|
|
1
static/.well-known/matrix/client
Normal file
1
static/.well-known/matrix/client
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"m.homeserver": {"base_url": "https://matrix.4rs.nl"}}
|
1
static/.well-known/matrix/server
Normal file
1
static/.well-known/matrix/server
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"m.server": "matrix.4rs.nl:443"}
|
Loading…
Reference in a new issue