add: change database to postgres
This commit is contained in:
parent
24d9f17bd4
commit
187508b8f3
15 changed files with 647 additions and 471 deletions
|
@ -143,7 +143,7 @@
|
|||
const { load, failed } = submitter_load(rm ? document.getElementById(\"fake_delete_button\") : e.submitter);
|
||||
load();
|
||||
|
||||
fetch(\"/api/v1/entries/{{ entry.slug }}\", {
|
||||
fetch(\"/api/v1/entries/{{ entry.id }}\", {
|
||||
method: \"POST\",
|
||||
headers: {
|
||||
\"Content-Type\": \"application/json\",
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
("class" "button camo fade")
|
||||
(text "{{ icon \"menu\" }}"))
|
||||
(div
|
||||
("class" "inner")
|
||||
("class" "inner left")
|
||||
(a
|
||||
("class" "button")
|
||||
("href" "/")
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
; views
|
||||
(text "{% if not metadata.option_disable_views -%}")
|
||||
(span (text "Views: {{ views }}"))
|
||||
(span (text "Views: {{ entry.views }}"))
|
||||
(text "{%- endif %}")
|
||||
|
||||
; easy-to-read
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue