Implemented a views counter

+ Implemented views for the post struct
+ Views functions
+ Views storage file
This commit is contained in:
2022-06-01 13:26:54 +03:00
parent 23dd69e060
commit 53066025f0
5 changed files with 179 additions and 5 deletions
+1 -1
View File
@@ -66,7 +66,7 @@
</path>
</svg>
</span>
<input type="text" class="form-control" readonly value="1">
<input type="text" class="form-control" readonly value="{{.views}}">
</div>
</div>