Преглед на файлове

Add comments icon, make comments toggleable in post params (off by default)

Riccardo Balbo преди 4 години
родител
ревизия
a76be4ca7d

+ 1 - 0
content/blog/interview-danielp.md

@@ -4,6 +4,7 @@ date: 2020-02-25T18:00:00+00:00
 draft: false
 type: "default"
 layout: "default"
+enable_comments: true
 
 authors:
     - "stephengold"

+ 1 - 0
content/blog/interview-jayfella.md

@@ -6,6 +6,7 @@ type: "default"
 layout: "default"
 authors:
     - "stephengold"
+enable_comments: true
 
 tags:
     - "interview"

+ 2 - 1
content/blog/minie14.md

@@ -4,6 +4,7 @@ date: 2020-02-09T08:00:00+00:00
 draft: false
 type: "default"
 layout: "default"
+enable_comments: true
 
 authors:
     - "stephengold"
@@ -19,7 +20,7 @@ tags:
 Minie version 1.4 is an exciting new add-on for
 [the JMonkeyEngine (JME) game engine](https://jmonkeyengine.org).
 
-{{< figure src="https://i.imgur.com/YdoHlbf.jpg" height="120px" >}}
+{{< figure src="https://i.imgur.com/YdoHlbf.jpg"  >}}
 
 Minie provides an [open-source](https://en.wikipedia.org/wiki/Open-source_software)
 physics [engine](https://en.wikipedia.org/wiki/Physics_engine) for desktop games.

+ 1 - 1
content/blog/pbr_tutorial.md

@@ -13,7 +13,7 @@ tags:
     - "tutorials"
     - "blog"
 
-feature_image: "/images/showcase/pbr_tutorial/main-image.jpg"
+enable_comments: true
 
 videos_youtube: [
     "miXbF6cBsSw",

+ 1 - 1
content/devlog/jme332.md

@@ -4,7 +4,7 @@ date: 2020-05-10T08:00:00+00:00
 draft: false
 type: "default"
 layout: "default"
-
+enable_comments: true
 authors:
     - "ItsMike54"
     - "stephengold"

+ 3 - 2
content/devlog/new-store.md

@@ -4,6 +4,7 @@ date: 2019-10-08T06:27:00+00:00
 draft: false
 type: "default"
 layout: "default"
+enable_comments: true
 
 authors:
     - "jayfella"
@@ -16,7 +17,7 @@ tags:
 
 After years of requests and attempts, a software store (a.k.a an asset store) for jmonkey has finally been created and is now open to registration. Everybody can register and submit their software!
 
-https://jmonkeystore.com/
+https://store.jmonkeyengine.org/
 ===
 
 {{< figure src="//i.ibb.co/42rX9bm/image.png" class="ui fluid image" >}}
@@ -30,7 +31,7 @@ In regard to free opensource software:
 - All software must be available on a git repository. Github, GitLab and BitBucket are all supported.
 - Software must contain a license in the repository.
 
-Licenses let people understand how they can use your software and if they are allowed to use it commercially. If you need help understanding what license to use, we have provided a [license chooser](https://jmonkeystore.com/legal/license/opensource/) to help you pick one. If you don't provide a license, it is implied that you cannot use it!
+Licenses let people understand how they can use your software and if they are allowed to use it commercially. If you need help understanding what license to use, we have provided a [license chooser](https://store.jmonkeyengine.org/legal/license/opensource/) to help you pick one. If you don't provide a license, it is implied that you cannot use it!
 
 We are hoping as time goes by to provide an exhaustive collection of all the creations the jmonkey community has made and allow users to easily find and use them. This should make creating a game not only quicker but also allows users to learn how things are done through the source code. Terrain generators, mini-maps, vehicles, characters, shaders, post-processors and all manner of cool stuff will be available to everybody simply by adding a single line of code to your gradle project!
 

+ 4 - 2
layouts/partials/comments.html

@@ -1,7 +1,8 @@
+{{ if .Params.enable_comments }}
 <section class="full responsiveWidth">
 
   <article>
-    <h1 id="comments">Comments</h1>
+    <h1 id="comments"><i class="useless fas fa-comments"></i> Comments</h1>
       <div class="content" id='discourse-comments'></div>
 
       <script type="text/javascript">
@@ -16,4 +17,5 @@
       </script>
 
 </article>
-</section>
+</section>
+{{end}}