From 002f26530d4556a7abdabfcc7acbb036bb8ca15e Mon Sep 17 00:00:00 2001 From: liangliang Date: Thu, 15 Jul 2021 00:07:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker.yml | 2 +- blog/static/blog/css/style.css | 15 +++++++++++++++ templates/blog/tags/breadcrumb.html | 23 +++++++++++------------ 3 files changed, 27 insertions(+), 13 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 77b87ae..20d2423 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -34,4 +34,4 @@ jobs: linux/arm/v7 linux/arm/v6 linux/386 - tags: liangliangyy/djangoblog:latest + tags: ${{ secrets.DOCKERHUB_USERNAME }}/djangoblog:latest diff --git a/blog/static/blog/css/style.css b/blog/static/blog/css/style.css index bd6cd9f..e7f5afa 100644 --- a/blog/static/blog/css/style.css +++ b/blog/static/blog/css/style.css @@ -2438,3 +2438,18 @@ li #reply-title { font-size: small; } +.breadcrumb { + margin-bottom: 20px; + list-style: none; + border-radius: 4px; +} +.breadcrumb > li { + display: inline-block; +} +.breadcrumb > li + li:before { + color: #ccc; + content: "/\00a0"; +} +.breadcrumb > .active { + color: #777; +} \ No newline at end of file diff --git a/templates/blog/tags/breadcrumb.html b/templates/blog/tags/breadcrumb.html index 4590d85..2739d2f 100644 --- a/templates/blog/tags/breadcrumb.html +++ b/templates/blog/tags/breadcrumb.html @@ -1,14 +1,13 @@ - \ No newline at end of file +
  • + {{ title }} +
  • + \ No newline at end of file