Skip to content

Commit

Permalink
bug fix templates/home/index.html and templates/portfolio/portfolio.html
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebamus committed Oct 20, 2024
1 parent ae00227 commit 9f9985c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions templates/home/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ <h1>{% trans "About Projects" %} </h1>
<div class="col-xl-4 col-lg-6 col-md-6">
<div class="card-box">
<div class="card-img">
<a href="{% url 'blog:project_detail' item.projectpost %}">
<a href="{% url 'blog:project_detail' item.id %}">
<img src="{{item.projectpost.title_image}}">
</a>
<div class="product-action">
Expand All @@ -239,7 +239,7 @@ <h1>{% trans "About Projects" %} </h1>
</div>

<div class="card-content">
<h3 class="name"><i class="lni lni-github"></i> <a href="{% url 'blog:project_detail' item.projectpost %}" >{{item.projectpost.title}}</a></h3>
<h3 class="name"><i class="lni lni-github"></i> <a href="{% url 'blog:project_detail' item.id %}" >{{item.projectpost.title}}</a></h3>
<span class="update">{{item.projectpost.content|safe|truncatechars:80}}</span>
<div class="project-info row justify-content-center ">
<div class="col-6" >
Expand Down
4 changes: 2 additions & 2 deletions templates/portfolio/portfolio.html
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ <h1>About Projects</h1>
<div class="col-xl-4 col-lg-6 col-md-6">
<div class="card-box">
<div class="card-img">
<a href="{% url 'blog:project_detail' item.projectpost %}">
<a href="{% url 'blog:project_detail' item.id %}">
<img src="{{item.projectpost.title_image}}">
</a>
<div class="product-action">
Expand All @@ -265,7 +265,7 @@ <h1>About Projects</h1>
</div>

<div class="card-content">
<h3 class="name"><i class="lni lni-github"></i> <a href="{% url 'blog:project_detail' item.projectpost %}" >{{item.projectpost.title}}</a></h3>
<h3 class="name"><i class="lni lni-github"></i> <a href="{% url 'blog:project_detail' item.id %}" >{{item.projectpost.title}}</a></h3>
<span class="update">{{item.projectpost.content|safe|truncatechars:80}}</span>
<div class="project-info row justify-content-center ">
<div class="col-6" >
Expand Down

0 comments on commit 9f9985c

Please sign in to comment.