Skip to content

Commit

Permalink
Merge pull request #27 from narenaryan/dev
Browse files Browse the repository at this point in the history
feat: change title based on page
  • Loading branch information
narenaryan authored Apr 11, 2023
2 parents e39b9b3 + 698949a commit ae674a2
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions promptbook/templates/activity_stream.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}activity stream{% endblock title %}

{% block content %}
<h1 class="title">Activity Stream</h1>
Expand Down
2 changes: 1 addition & 1 deletion promptbook/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<meta property="og:image" content="https://i.ibb.co/7Vyt7Kw/vidura-logo-grn.png">
<meta name="twitter:image" content="https://i.ibb.co/7Vyt7Kw/vidura-logo-grn.png">
<title>Vidura Cloud</title>
<title>Vidura {% block title %}{% endblock %}</title>
<link rel="icon" type="image/x-icon" href="https://i.ibb.co/7Vyt7Kw/vidura-logo-grn.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.9.4/css/bulma.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
Expand Down
1 change: 1 addition & 0 deletions promptbook/templates/editor.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}editor{% endblock title %}

{% block content %}
<style>
Expand Down
1 change: 1 addition & 0 deletions promptbook/templates/list_categories.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}categories{% endblock title %}

{% block content %}
<style>
Expand Down
1 change: 1 addition & 0 deletions promptbook/templates/list_prompts.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}prompts{% endblock title %}

{% block content %}
<style>
Expand Down
1 change: 1 addition & 0 deletions promptbook/templates/list_prompts_by_label.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}prompts by label{% endblock title %}

{% block content %}
<h1 class="title">Prompts with label: {{ label.name }}</h1>
Expand Down
2 changes: 2 additions & 0 deletions promptbook/templates/login.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% extends 'base.html' %}
{% load socialaccount %}

{% block title %}login{% endblock title %}
{% block content %}
<section>
<style>
Expand Down
1 change: 1 addition & 0 deletions promptbook/templates/search_results.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}search{% endblock title %}

{% block content %}
<h1 class="title">Search results for: "{{ query }}"</h1>
Expand Down
1 change: 1 addition & 0 deletions promptbook/templates/upload_avatar.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% block title %}upload avatar{% endblock title %}

{% block content %}
<h1 class="title">Upload Avatar</h1>
Expand Down

0 comments on commit ae674a2

Please sign in to comment.