Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hypha
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ots
hypha
Commits
ae91d133
Commit
ae91d133
authored
5 years ago
by
Fredrik Jonsson
Browse files
Options
Downloads
Patches
Plain Diff
Add feed link to news index page.
parent
988dcacf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
opentech/public/news/templates/news/news_index.html
+1
-0
1 addition, 0 deletions
opentech/public/news/templates/news/news_index.html
opentech/templates/base.html
+1
-0
1 addition, 0 deletions
opentech/templates/base.html
with
2 additions
and
0 deletions
opentech/public/news/templates/news/news_index.html
+
1
−
0
View file @
ae91d133
{% extends "base.html" %}
{% load wagtailcore_tags wagtailimages_tags static markdown_tags bleach_tags %}
{% block feedlinks %}
<link
rel=
"alternate"
type=
"application/rss+xml"
title=
"{{ page.title }}"
href=
"{% url "
news_feed
"
%}"
>
{% endblock %}
{% block body_class %}light-grey-bg{% endblock %}
{% block content %}
...
...
This diff is collapsed.
Click to expand it.
opentech/templates/base.html
+
1
−
0
View file @
ae91d133
...
...
@@ -6,6 +6,7 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
/>
<title>
{% block title_prefix %}{% if request.site.site_name %}{{ request.site.site_name }} | {% endif %}{% endblock %}{% block title %}{% if page.seo_title %}{{ page.seo_title }}{% else %}{{ page.title }}{% endif %}{% endblock %}{% block title_suffix %}{{ TITLE_SUFFIX }}{% endblock %}
</title>
<meta
name=
"description"
content=
"{% if page.search_description %}{{ page.search_description }}{% else %}{{ page.listing_summary }}{% endif %}"
/>
{% block feedlinks %}{% endblock %}
<!-- favicons -->
{% comment %}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment