core-crew/templates/index.html
Mahesh Kommareddi fc2c279836 Various updates
2024-06-15 13:41:25 -04:00

30 lines
707 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Content Generation</title>
</head>
<body>
<h1>Content Generation</h1>
<form method="post">
<label for="agenda">Enter a topic or agenda:</label>
<input type="text" id="agenda" name="agenda" required>
<button type="submit">Generate Content</button>
</form>
{% if blog_entries %}
<h2>Existing Blog Entries</h2>
<ul>
{% for entry in blog_entries %}
{% if entry.blog_post %}
<li>
<a href="/blog/{{ entry._id }}"><h3>{{ entry.agenda }}</h3></a>
<pre>{{ entry.blog_post[:100] }}...</pre>
</li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
</body>
</html>