-
Notifications
You must be signed in to change notification settings - Fork 12
Writing a Blog Post
All blog posts posted on Liantichess are in the markdown format and hence it is fairly simple to write a blog post on Liantichess even without having any prior Programming knowledge.
To write a blog post the first thing you need to do is go to the directory where blog posts are written, the link to which you can find here and then click on Add file
and select Create new file
. This creates a new file which you have to edit and write your blog in.
Once you have Created a new file you need to give the file a name. The name can be anything at all, but the last 3 characters of the name must be .md
. Now that you have named your file, go under Edit new file
and copy and paste the following:
<h1 align="center">New Liantichess Blog</h1>
<div class="meta-headline">
<div class= "meta">
<span class="text">2022.03.19</span>
<span class="text"><a href="/@/Liantichess">@Liantichess</a></span>
<span class="text">Announcements</span>
</div>
<div class= "headline">How to write a Liantichess Blog</div>
</div>
</br>
Just make a few edits to the above code:
- Change the 1st line:
<h1 align="center">New Liantichess Blog</h1>
The part of this line New Liantichess Blog
should be changed to the Heading of your blog. Similar to what How to play the variants on liantichess?
is in this blog.
2. Change the 4th line:
<span class="text">2022.03.19</span>
The part of this line 2022.03.19
must be changed to the current date in which you wrote the blog in the format yyyy.mm.dd
.
3. Change the 5th line:
<span class="text"><a href="/@/Liantichess">@Liantichess</a></span>
Over here wherever there is Liantichess
(2 times) change it to the name of the person who wrote the blog.
4. Change the 8th line:
<div class= "headline">How to write a Liantichess Blog</div>
The part of this line How to write a Liantichess Blog
is replaced with the intro of the Post. Similar to what antichess opening strategies does not work in the antichess variants
is in this blog.
Now leave a line and start writing the content of your blog (do not include the heading and intro line). Usually start by adding a picture. Make sure that this picture has no copyright terms as that might lead to issues.
Once you have finished writing scroll all the way down and you will see Propose new file
(A green button). Click on it and then go to https://github.com/SriMethan/Liantichess/pulls and you will see another green button saying Compare & pull request
. Click on that and then click Create pull request
(a green button again!). Now a Pull request gets created, but you aren't done yet.
On top, just under the pull request title you will see something like this theyobots wants to merge 1 commit into srimethan:master from theyobots:theyobots-patch-1
. Over here click on theyobots:theyobots-patch-1
(blue colour and the name will be your github username instead of theyobots
). Then scroll down a bit and click on the folder client
then search for the file lobby.ts
in this page and when you find it click on it. Now edit it (click on the pencil/edit icon). Scroll down to line 944 and go to the end of the line and click enter
and then backspace
and then copy and paste the following:
h('posts', [
h('a.post', { attrs: {href: '/news/new-blog'} }, [
h('img', { attrs: {src: model["asset-url"] + '/images/blog-image.png'} }),
h('span.text', [
h('strong', "New Liantichess Blog"),
h('span', 'How to write a Liantichess Blog'),
]),
h('time', '2022.11.03'),
]),
Here to similar changes are made such as changing date (line 8 above), blog heading (line 5 above) and blog intro (line 6 above) (Make sure this is the same as what you have added earlier).
Your blog is ready to be published!
Enjoy Liantichess!
- Home
- Liantichess Development
- Liantichess Content
- Related repositories
- Variant adding Etiquette