File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 2020 bundler-cache : true
2121
2222 - name : Build Jekyll
23- run : bundle exec jekyll build
23+ run : bundle exec jekyll build --baseurl ""
2424 env :
2525 JEKYLL_ENV : production
2626
3434 port : ${{ secrets.FTP_PORT }}
3535 local-dir : ./_site/
3636 server-dir : /
37- dangerous-clean-slate : true
37+ dangerous-clean-slate : false
Original file line number Diff line number Diff line change @@ -93,15 +93,18 @@ <h2 class="text-3xl font-bold text-center md:text-left">
9393 {% for project in site.projects limit:2 %} {% include project_card.html
9494 project=project%} {% endfor %}
9595 </ div >
96+ {% assign projects_page = site.pages | where: 'layout', 'projects' | first %}
97+ {% if projects_page %}
9698 < div class ="pt-4 text-center ">
9799 < a
98100 class ="font-mulish text-lg hover:text-sky-400 hover:underline font-bold "
99- href ="{{'/projects' | relative_url }} "
101+ href ="{{ projects_page.url | relative_url }} "
100102 >
101103 {{ site.data[site.active_lang].strings.home.see_more_projects | default:
102104 site.data['en'].strings.home.see_more_projects }}
103105 </ a >
104106 </ div >
107+ {% endif %}
105108 </ div >
106109</ section >
107110{% endif %} {% assign trimmed_content = content | strip | replace: "\n", "" |
You can’t perform that action at this time.
0 commit comments