devel #241

Merged
inhji merged 3 commits from devel into main 2023-07-29 16:59:15 +02:00
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ defmodule Chiya.Site do
alias Chiya.Repo alias Chiya.Repo
alias Chiya.Site.Setting alias Chiya.Site.Setting
@preloads [:home_channel, :default_channel, :micropub_channel, :wiki_channel] @preloads [:home_channel, :default_channel, :micropub_channel, :wiki_channel, :bookmark_channel]
@default_settings %{ @default_settings %{
title: "Site Title", title: "Site Title",
subtitle: "Subtitle", subtitle: "Subtitle",

View file

@ -87,7 +87,7 @@ defmodule ChiyaWeb.PageController do
def bookmarks(conn, _params) do def bookmarks(conn, _params) do
[channel, notes] = [channel, notes] =
case conn.assigns.settings.wiki_channel_id do case conn.assigns.settings.bookmark_channel_id do
nil -> nil ->
[nil, nil] [nil, nil]