Compare commits
1 commit
devel
...
renovate/f
Author | SHA1 | Date | |
---|---|---|---|
4b44ba6447 |
4 changed files with 6 additions and 19 deletions
|
@ -40,19 +40,6 @@
|
|||
:root[data-mode=dark] .prose {
|
||||
@apply prose-invert;
|
||||
}
|
||||
/* https://stackoverflow.com/questions/5379752/css-style-external-links */
|
||||
a[href]:not(:where(
|
||||
/* exclude hash only links */
|
||||
[href^="#"],
|
||||
/* exclude relative but not double slash only links */
|
||||
[href^="/"]:not([href^="//"]),
|
||||
/* domains to exclude */
|
||||
[href*="//inhji.de"],
|
||||
/* subdomains to exclude */
|
||||
[href*="//cloud.inhji.de"],
|
||||
)):after {
|
||||
content: '↬';
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -72,7 +72,7 @@ defmodule Chiya.Notes.Note do
|
|||
end
|
||||
|
||||
def note_path_admin(note) do
|
||||
~p"/admin/notes/#{note.id}"
|
||||
~p"/admin/notes/#{note.slug}"
|
||||
end
|
||||
|
||||
def note_url(note) do
|
||||
|
|
|
@ -43,14 +43,14 @@
|
|||
|
||||
<aside class="prose max-w-none">
|
||||
<%= if has_outline?(@note) do %>
|
||||
<h3><.icon name="hero-rectangle-stack" /> Outline</h3>
|
||||
<h3>Outline</h3>
|
||||
|
||||
<section>
|
||||
<%= raw(render_outline(@note)) %>
|
||||
</section>
|
||||
<% end %>
|
||||
|
||||
<h3><.icon name="hero-rectangle-group" /> Properties</h3>
|
||||
<h3>Properties</h3>
|
||||
|
||||
<section>
|
||||
<ul>
|
||||
|
@ -82,7 +82,7 @@
|
|||
<% end %>
|
||||
|
||||
<%= if not Enum.empty?(@note.links_to) do %>
|
||||
<h3><.icon name="hero-arrow-down-on-square" /> Notes linking here</h3>
|
||||
<h3>Notes linking here</h3>
|
||||
<section>
|
||||
<ul>
|
||||
<%= for link <- @note.links_to do %>
|
||||
|
@ -92,7 +92,7 @@
|
|||
</section>
|
||||
<% end %>
|
||||
|
||||
<h3><.icon name="hero-wrench-screwdriver" /> Admin</h3>
|
||||
<h3>Admin</h3>
|
||||
|
||||
<section>
|
||||
<ul>
|
||||
|
|
2
mix.exs
2
mix.exs
|
@ -41,7 +41,7 @@ defmodule Chiya.MixProject do
|
|||
{:ecto_sql, "~> 3.6"},
|
||||
{:finch, "~> 0.16"},
|
||||
{:floki, ">= 0.30.0", only: :test},
|
||||
{:flop, "~> 0.22.1"},
|
||||
{:flop, "~> 0.23.0"},
|
||||
{:flop_phoenix, "~> 0.21.1"},
|
||||
{:gettext, "~> 0.23"},
|
||||
{:jason, "~> 1.2"},
|
||||
|
|
Loading…
Reference in a new issue