diff options
Diffstat (limited to 'src/posts')
-rw-r--r-- | src/posts/big-list-game-dev.njk | 36 | ||||
-rw-r--r-- | src/posts/index.njk | 31 |
2 files changed, 30 insertions, 37 deletions
diff --git a/src/posts/big-list-game-dev.njk b/src/posts/big-list-game-dev.njk index e609bad..ac97cb3 100644 --- a/src/posts/big-list-game-dev.njk +++ b/src/posts/big-list-game-dev.njk @@ -3,47 +3,47 @@ layout: "posts.njk", title: "Big List of Open Source Game Development Tools", description: "Big List of Open Source Game Development Tools", - date: "Created", + date: new Date("27 October 2022"), modified: function() { - return (new Date().toUTCString()) + return (new Date("20 November 2022").toUTCString()) } } --- -<p class="mt-5">Welcome to the big list (eventually it will be) of always updating bucket of <span class="font-bold">Open Source Game Development Tools</span>. +<p>Welcome to the big list (eventually it will be) of always updating bucket of <span class="font-bold">Open Source Game Development Tools</span>. Here you find not only Game Engines but other open source tools and utilities that will help you in developing your dream game/prototypes. </p> -<div class="mt-5"> - <div class="overflow-auto"> - <table class="min-w-full"> - <thead class="border-b uppercase"> +<div> + <div> + <table> + <thead> <tr> - <th scope="col" class="text-sm font-bold text-gray-900 px-6 py-4 text-left"></th> - <th scope="col" class="text-sm font-bold text-gray-900 px-6 py-4 text-left"> + <th scope="col"></th> + <th scope="col"> Tool Type </th> - <th scope="col" class="text-sm font-bold text-gray-900 px-6 py-4 text-left"> + <th scope="col"> Supported Graphics </th> - <th scope="col" class="text-sm font-bold text-gray-900 px-6 py-4 text-left"> + <th scope="col"> Development Environment </th> </tr> </thead> <tbody> {% for tool in gtools.gameTools%} - <tr class="border-b"> - <td class="text-sm text-gray-900 font-light px-6 py-4 whitespace-nowrap underline"> + <tr> + <td> <a href={{tool.link}}>{{tool.toolName}}</a> </td> - <td class="text-sm text-gray-900 font-light px-6 py-4 whitespace-nowrap"> + <td> {{tool.type}} </td> - <td class="text-sm text-gray-900 font-light px-6 py-4 whitespace-nowrap"> + <td> {{tool.graphics}} </td> - <td class="text-sm text-gray-900 font-light px-6 py-4 whitespace-nowrap"> + <td> {{tool.os}} </td> </tr> @@ -52,6 +52,6 @@ </table> </div> </div> -<div class="pt-5 text-xs md:text-justify text-left"> - <span class="text-center">If you want to add a tool or engine to this list or if you have any complaint with this article feel free to drop a mail @ <span class="font-bold">indrajith(at)indrajith(dot)dev</span></span> +<div class="mt-10"> + <span>If you want to add a tool or engine to this list or if you have any complaint with this article feel free to drop a mail @ <span class="font-bold">indrajith(at)indrajith(dot)dev</span></span> </div>
\ No newline at end of file diff --git a/src/posts/index.njk b/src/posts/index.njk index 1525a26..9e80d84 100644 --- a/src/posts/index.njk +++ b/src/posts/index.njk @@ -3,22 +3,15 @@ layout: base.njk eleventyExcludeFromCollections: true title: Posts --- -<h2 class="text-2xl font-bold text-darkish-300 p-2">Published Posts</h2> -<div class="post-lists mt-2"> - {% for post in collections.posts | reverse %} - <div class="post-data"> - <div class="post-date p-2 bg-darkish-100 text-lightish-50 shadow-[5px_5px_0px_0px_rgba(0,0,0,255)]"> - {{post.date | dateFilter}} - </div> - <div class="post-title m-4 text-lightish-300 hover:text-darkish-300"> - <a href="{{post.url}}"> {{post.data.title}}</a> - </div> - </div> - {% else %} - <div class="text-center flex justify-center text-lightish-300"> - <span>No Posts </span> - <span class="pl-2">¯\_(ツ)_/¯</span> - </div> - {% endfor %} - -</div>
\ No newline at end of file +<h2>Published Posts</h2> + +{% for dateP, yearPosts in collections.postsByYear %} + <div class="date-based"> + <h3>{{ dateP }}</h3> + <ul class="post-lists"> + {% for post in yearPosts | reverse %} + <li><a href="{{post.url}}">{{ post.data.title }}</a></li> + {% endfor %} + </ul> + </div> +{% endfor %}
\ No newline at end of file |