diff options
-rw-r--r-- | content/projects.md | 5 | ||||
-rw-r--r-- | templates/index.html | 5 | ||||
-rw-r--r-- | templates/section.html | 8 |
3 files changed, 4 insertions, 14 deletions
diff --git a/content/projects.md b/content/projects.md deleted file mode 100644 index 6a1d392..0000000 --- a/content/projects.md +++ /dev/null @@ -1,5 +0,0 @@ -+++ -title = "Projects" -+++ - -## Projectr diff --git a/templates/index.html b/templates/index.html index 9e61436..40646eb 100644 --- a/templates/index.html +++ b/templates/index.html @@ -28,9 +28,10 @@ <nav> <span>{{ macros::nav_item(name=config.title, url=config.base_url) }}</span> <ul> - <li>{{ macros::nav_item(name="Projects",url=get_url(path="@/projects.md") ) }}</li> - <li>{{ macros::nav_item(name="Posts",url=get_url(path="@/posts/_index.md") ) }}</li> <li>{{ macros::nav_item(name="About",url=get_url(path="@/about.md") ) }}</li> + <li>{{ macros::nav_item(name="Projects",url="https://sr.ht/~tobyvin") }}</li> + <li>{{ macros::nav_item(name="Dotfiles",url="https://git.sr.ht/~tobyvin/.dotfiles") }}</li> + <li>{{ macros::nav_item(name="Posts",url=get_url(path="@/posts/_index.md") ) }}</li> </ul> </nav> </header> diff --git a/templates/section.html b/templates/section.html index 880f421..f83d0fd 100644 --- a/templates/section.html +++ b/templates/section.html @@ -4,13 +4,7 @@ <ul class="simple"> {% for page in section.pages %} <li> - <article> - {{ macros::post_header(page_ref=page) }} - {% if page.summary %} - <p>{{ page.summary | safe }}</p> - <a href="{{ page.permalink }}#continue-reading">...</a> - {% endif %} - </article> + <article>{{ macros::post_header(page_ref=page) }}</article> </li> {% endfor %} </ul> |