Skip to content

Commit daafb25

Browse files
authored
Move blog posts higher on the landing page. Increase featured blogs t… (#51)
Move blog posts higher on the landing page. Increase featured blogs to show from 2 to 4 Signed-off-by: Steve Scargall <37674041+sscargal@users.noreply.github.com>
1 parent 0b8bb68 commit daafb25

File tree

2 files changed

+106
-103
lines changed

2 files changed

+106
-103
lines changed

themes/memmachine/layouts/_partials/featured-blogs.html

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="container">
33
<div class="row">
44
<div class="col-md-12">
5-
<h2 class="title-2">
5+
<h2 class="title-2">
66
Featured <span>Blog Posts</span>
77
</h2>
88
</div>
@@ -17,40 +17,40 @@ <h2 class="title-2">
1717
{{/* 2. Create an empty list to hold only posts that have tags */}}
1818
{{ $posts_with_tags := slice }}
1919
{{ range $all_blog_posts }}
20-
{{ if isset .Params "tags" }}
21-
{{ $posts_with_tags = $posts_with_tags | append . }}
22-
{{ end }}
20+
{{ if isset .Params "tags" }}
21+
{{ $posts_with_tags = $posts_with_tags | append . }}
22+
{{ end }}
2323
{{ end }}
2424

2525
{{/* 3. Now, safely search for "featured" posts only within the list of posts that have tags */}}
26-
{{ $featured_posts := where $posts_with_tags ".Params.tags" "intersect" (slice "featured") | first 2 }}
26+
{{ $featured_posts := where $posts_with_tags ".Params.tags" "intersect" (slice "featured") | first 4 }}
2727

2828
{{/* 4. Set the posts to be displayed, starting with the featured ones */}}
2929
{{ $posts_to_display := $featured_posts }}
3030

31-
{{/* 5. If we found fewer than 2 featured posts, fall back to the 2 latest posts overall */}}
32-
{{ if lt (len $featured_posts) 2 }}
33-
{{ $posts_to_display = $all_blog_posts | first 2 }}
31+
{{/* 5. If we found fewer than 4 featured posts, fall back to the 4 latest posts overall */}}
32+
{{ if lt (len $featured_posts) 4 }}
33+
{{ $posts_to_display = $all_blog_posts | first 4 }}
3434
{{ end }}
35-
35+
3636
{{/* --- End Logic --- */}}
3737

3838
{{ range $posts_to_display }}
39-
<div class="col-md-12 col-sm-12 col-lg-6" style="margin-bottom: 48px">
40-
{{ partial "blog-card.html" . }}
41-
</div>
39+
<div class="col-md-12 col-sm-12 col-lg-6" style="margin-bottom: 48px">
40+
{{ partial "blog-card.html" . }}
41+
</div>
4242
{{ else }}
43-
<div class="col-md-12 text-center">
44-
<p>No blog posts found. Check back soon for updates!</p>
45-
</div>
43+
<div class="col-md-12 text-center">
44+
<p>No blog posts found. Check back soon for updates!</p>
45+
</div>
4646
{{ end }}
4747
</div>
4848

4949
</div>
5050

5151
<div class="row">
5252
<div class="col-md-12 text-center">
53-
<a href="{{ "/blog" | relURL }}" class="btn btn-primary">View All Posts</a>
53+
<a href="{{ " /blog" | relURL }}" class="btn btn-primary">View All Posts</a>
5454
</div>
5555
</div>
5656

themes/memmachine/layouts/_partials/home-sections.html

Lines changed: 90 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,23 @@
77
<div class="row">
88
<div class="col-md-12">
99
<h1 class="title">
10-
Build <span>Agents that Learn,</span><br/>
10+
Build <span>Agents that Learn,</span><br />
1111
With <span>Memory that Lasts.</span>
1212
</h1>
1313
<p class="text-center mx-850">
14-
Meet MemMachine, an open-source memory layer for advanced AI agents. It enables AI-powered applications to learn, store, and recall data and preferences from past sessions to enrich future interactions. MemMachine's memory layer persists across multiple sessions, agents, and large language models, building a sophisticated, evolving user profile. It transforms AI chatbots into personalized, context-aware AI assistants designed to understand and respond with better precision and depth.
14+
Meet MemMachine, an open-source memory layer for advanced AI agents. It enables AI-powered applications to
15+
learn, store, and recall data and preferences from past sessions to enrich future interactions. MemMachine's
16+
memory layer persists across multiple sessions, agents, and large language models, building a sophisticated,
17+
evolving user profile. It transforms AI chatbots into personalized, context-aware AI assistants designed to
18+
understand and respond with better precision and depth.
1519
</p>
1620
<div class="hero-btn">
1721
<div>
18-
<a
19-
href="https://docs.memmachine.ai/getting_started"
20-
class="btn btn-primary mx-2"
21-
>Start Building
22+
<a href="https://docs.memmachine.ai/getting_started" class="btn btn-primary mx-2">Start Building
2223
</a>
23-
<a
24-
href="https://memmachine.ai/playground/"
25-
class="btn btn-primary mx-2"
26-
>Try the Playground
24+
<a href="https://memmachine.ai/playground/" class="btn btn-primary mx-2">Try the Playground
2725
</a>
28-
<a
29-
href="https://discord.gg/usydANvKqD"
30-
class="btn btn-primary mx-2"
31-
>Let's Chat on Discord
26+
<a href="https://discord.gg/usydANvKqD" class="btn btn-primary mx-2">Let's Chat on Discord
3227
</a>
3328
</div>
3429
</div>
@@ -37,11 +32,7 @@ <h1 class="title">
3732
<div style="display:none;" class="hero-chat mx-850">
3833
<div class="hero-chat-list" id="chatList" style="height: 700px;"></div>
3934
<div class="hero-chat-input" id="chatInputContainer">
40-
<input
41-
type="text"
42-
id="userInput"
43-
placeholder="Type your message"
44-
/>
35+
<input type="text" id="userInput" placeholder="Type your message" />
4536
<button id="sendButton">
4637
<i class="fa-solid fa-paper-plane"></i>
4738
</button>
@@ -58,13 +49,18 @@ <h1 class="title">
5849
<!--=======================================================
5950
LOGO MARQUEE
6051
=========================================================-->
61-
{{ partial "logo-marquee.html" . }}
52+
{{ partial "logo-marquee.html" . }}
6253

6354
<!--=======================================================
6455
TESTIMONIALS
6556
=========================================================-->
6657
{{ partial "testimonials.html" }}
6758

59+
<!--=======================================================
60+
FEATURED BLOG POSTS
61+
=========================================================-->
62+
{{ partial "featured-blogs.html" . }}
63+
6864
<!--=======================================================
6965
COMPARISON
7066
=========================================================-->
@@ -79,11 +75,12 @@ <h2 class="title-2">
7975
</div>
8076
<div class="col-md-12">
8177
<div class="solution-item">
82-
<div>
78+
<div>
8379
<div class="row mb-5">
8480
<div class="col-md-8 mx-auto text-center">
8581
<p class="mw-100 text-center">
86-
See how an agent with memory provides a compassionate, personalized healthcare experience, while one without creates frustration.
82+
See how an agent with memory provides a compassionate, personalized healthcare experience, while one
83+
without creates frustration.
8784
</p>
8885
</div>
8986
</div>
@@ -141,7 +138,9 @@ <h3>Patient <span>10:14 AM</span></h3>
141138
<div class="solution-chat-message-item-content">
142139
<h3>MemMachine AI <span>10:14 AM</span></h3>
143140
<p>
144-
Of course, Jane. Dr. Sharma has a 9:00 AM slot on Tuesday, but <strong>I remember you dislike morning appointments and find fasting difficult.</strong> Would you prefer an afternoon slot on Wednesday at 2:00 PM instead? That one doesn't require fasting.
141+
Of course, Jane. Dr. Sharma has a 9:00 AM slot on Tuesday, but <strong>I remember you
142+
dislike morning appointments and find fasting difficult.</strong> Would you prefer an
143+
afternoon slot on Wednesday at 2:00 PM instead? That one doesn't require fasting.
145144
</p>
146145
</div>
147146
</div>
@@ -154,7 +153,9 @@ <h3>MemMachine AI <span>10:14 AM</span></h3>
154153
<div class="col-md-8 mx-auto text-center">
155154
<h3 class="title-3">Memory is the <span>Key to Personalization</span></h3>
156155
<p class="mw-100 text-center">
157-
A generic agent follows a script, ignoring a patient's personal needs and creating a sterile, one-size-fits-all experience. An agent powered by MemMachine remembers what makes each patient unique, allowing it to provide truly empathetic and personalized care.
156+
A generic agent follows a script, ignoring a patient's personal needs and creating a sterile,
157+
one-size-fits-all experience. An agent powered by MemMachine remembers what makes each patient
158+
unique, allowing it to provide truly empathetic and personalized care.
158159
</p>
159160
</div>
160161
</div>
@@ -188,7 +189,7 @@ <h2 class="title-2">
188189
</div>
189190
<h3>Build Context-Aware Agents</h3>
190191
<p>
191-
MemMachine allows your agents to retain and recall information
192+
MemMachine allows your agents to retain and recall information
192193
across multiple sessions. They'll understand the full context of
193194
a conversation, leading to more relevant, intelligent, and
194195
human-like interactions.
@@ -204,9 +205,9 @@ <h3>Build Context-Aware Agents</h3>
204205
</div>
205206
<h3>Deliver True Personalization</h3>
206207
<p>
207-
Our Personalization Memory lets agents remember key facts about
208-
their users. By recalling preferences, history, and important
209-
details, your agent can provide tailored responses that build
208+
Our Personalization Memory lets agents remember key facts about
209+
their users. By recalling preferences, history, and important
210+
details, your agent can provide tailored responses that build
210211
trust and long-term engagement.
211212
</p>
212213
</div>
@@ -221,8 +222,8 @@ <h3>Deliver True Personalization</h3>
221222
<h3>Unlock Complex Workflows</h3>
222223
<p>
223224
An agent with memory can manage complex, long-running tasks that
224-
require remembering previous steps, user feedback, and evolving
225-
goals. From managing a CRM to assisting in a healthcare journey,
225+
require remembering previous steps, user feedback, and evolving
226+
goals. From managing a CRM to assisting in a healthcare journey,
226227
memory is the key to sophisticated automation.
227228
</p>
228229
</div>
@@ -251,21 +252,23 @@ <h2 class="title-2">
251252
<div class="col-lg-6 mb-4 mb-lg-0">
252253
<div>
253254
<div class="solution-item-list h-100 d-flex justify-content-center align-items-center">
254-
<img src="{{ `img/MemMachine_Architecture-Dark.png` | relURL }}" alt="MemMachine Architecture Diagram" class="img-fluid" loading='lazy'/>
255+
<img src="{{ `img/MemMachine_Architecture-Dark.png` | relURL }}" alt="MemMachine Architecture Diagram"
256+
class="img-fluid" loading='lazy' />
255257
</div>
256258
</div>
257259
</div>
258260
<div class="col-lg-6">
259261
<div>
260-
<div class="solution-item-list h-100">
262+
<div class="solution-item-list h-100">
261263
<div class="solution-single">
262264
<div class="icon-circle">
263265
<i class="fa-solid fa-1"></i>
264266
</div>
265267
<div>
266268
<h4>Agents Interact via the API Layer</h4>
267269
<p>
268-
Users interact with an agent, which connects to the MemMachine Memory core through a RESTful API, Python SDK, or MCP Server.
270+
Users interact with an agent, which connects to the MemMachine Memory core through a RESTful API,
271+
Python SDK, or MCP Server.
269272
</p>
270273
</div>
271274
</div>
@@ -276,7 +279,8 @@ <h4>Agents Interact via the API Layer</h4>
276279
<div>
277280
<h4>MemMachine Manages Memory</h4>
278281
<p>
279-
MemMachine processes interactions and stores them in two distinct types: Episodic Memory for conversational context and Profile Memory for long-term user facts.
282+
MemMachine processes interactions and stores them in two distinct types: Episodic Memory for
283+
conversational context and Profile Memory for long-term user facts.
280284
</p>
281285
</div>
282286
</div>
@@ -287,7 +291,8 @@ <h4>MemMachine Manages Memory</h4>
287291
<div>
288292
<h4>Data is Persisted to Databases</h4>
289293
<p>
290-
Memory is persisted to a database layer where Episodic Memory is stored in a graph database and Profile Memory is stored in an SQL database.
294+
Memory is persisted to a database layer where Episodic Memory is stored in a graph database and
295+
Profile Memory is stored in an SQL database.
291296
</p>
292297
</div>
293298
</div>
@@ -312,56 +317,58 @@ <h2 class="title-2">
312317
Build Intelligent Solutions with <span>Agent Memory</span>
313318
</h2>
314319
</div>
315-
<div class="solution-item">
316-
<div>
317-
<div class="row align-items-center">
318-
<div class="col-md-6 pr-47">
319-
<h3>Build <span>Smart Agents</span> for Any Use Case</h3>
320-
<p>
321-
MemMachine's versatile memory architecture can be applied
322-
across any domain, transforming generic bots into specialized,
323-
expert assistants. Our growing list of examples showcases the
324-
endless possibilities of memory-powered agents that integrate
325-
into your own applications and solutions.
326-
</p>
327-
<a href="{{ "examples" | relLangURL }}" class="btn btn-secondary"
328-
>Explore Our Examples</a>
329-
</div>
330-
<div class="col-md-6 pl-47 mt-30">
331-
<div class="solution-item-list">
332-
<div class="solution-single">
333-
<img src="{{ `/img/check.svg` | relURL }}" alt="check" loading='lazy'/>
334-
<div>
335-
<h4>Your CRM Assistant</h4>
336-
<p>
337-
Your agent can recall a client's entire history and deal stage, proactively helping your sales team build relationships and close deals faster.
338-
</p>
339-
</div>
320+
<div class="solution-item">
321+
<div>
322+
<div class="row align-items-center">
323+
<div class="col-md-6 pr-47">
324+
<h3>Build <span>Smart Agents</span> for Any Use Case</h3>
325+
<p>
326+
MemMachine's versatile memory architecture can be applied
327+
across any domain, transforming generic bots into specialized,
328+
expert assistants. Our growing list of examples showcases the
329+
endless possibilities of memory-powered agents that integrate
330+
into your own applications and solutions.
331+
</p>
332+
<a href="{{ " examples" | relLangURL }}" class="btn btn-secondary">Explore Our Examples</a>
333+
</div>
334+
<div class="col-md-6 pl-47 mt-30">
335+
<div class="solution-item-list">
336+
<div class="solution-single">
337+
<img src="{{ `/img/check.svg` | relURL }}" alt="check" loading='lazy' />
338+
<div>
339+
<h4>Your CRM Assistant</h4>
340+
<p>
341+
Your agent can recall a client's entire history and deal stage, proactively helping your sales
342+
team build relationships and close deals faster.
343+
</p>
340344
</div>
341-
<div class="solution-single">
342-
<img src="{{ `/img/check.svg` | relURL }}" alt="check" loading='lazy'/>
343-
<div>
344-
<h4>A Healthcare Navigator</h4>
345-
<p>Offer continuous patient support with an agent that remembers medical history and tracks treatment progress to provide a seamless healthcare journey.</p>
346-
</div>
345+
</div>
346+
<div class="solution-single">
347+
<img src="{{ `/img/check.svg` | relURL }}" alt="check" loading='lazy' />
348+
<div>
349+
<h4>A Healthcare Navigator</h4>
350+
<p>Offer continuous patient support with an agent that remembers medical history and tracks
351+
treatment progress to provide a seamless healthcare journey.</p>
347352
</div>
348-
<div class="solution-single">
349-
<img src="{{ `/img/check.svg` | relURL }}" alt="check" loading='lazy'/>
350-
<div>
351-
<h4>A Personal Finance Advisor</h4>
352-
<p>
353-
Your agent will remember a user's portfolio and risk tolerance, delivering personalized financial insights based on their complete history.
354-
</p>
355-
</div>
353+
</div>
354+
<div class="solution-single">
355+
<img src="{{ `/img/check.svg` | relURL }}" alt="check" loading='lazy' />
356+
<div>
357+
<h4>A Personal Finance Advisor</h4>
358+
<p>
359+
Your agent will remember a user's portfolio and risk tolerance, delivering personalized
360+
financial insights based on their complete history.
361+
</p>
356362
</div>
357-
<div class="solution-single">
358-
<img src="{{ `/img/check.svg` | relURL }}" alt="check" loading='lazy'/>
359-
<div>
360-
<h4>A Content Writer</h4>
361-
<p>
362-
Build an assistant that remembers your unique style guide and terminology, ensuring perfect consistency across all documentation.
363-
</p>
364-
</div>
363+
</div>
364+
<div class="solution-single">
365+
<img src="{{ `/img/check.svg` | relURL }}" alt="check" loading='lazy' />
366+
<div>
367+
<h4>A Content Writer</h4>
368+
<p>
369+
Build an assistant that remembers your unique style guide and terminology, ensuring perfect
370+
consistency across all documentation.
371+
</p>
365372
</div>
366373
</div>
367374
</div>
@@ -373,6 +380,7 @@ <h4>A Content Writer</h4>
373380
</div>
374381
</div>
375382
</div>
383+
</div>
376384

377385
<!--=======================================================
378386
PRICING
@@ -384,11 +392,6 @@ <h4>A Content Writer</h4>
384392
=========================================================-->
385393
{{ partial "faq.html" . }}
386394

387-
<!--=======================================================
388-
FEATURED BLOG POSTS
389-
=========================================================-->
390-
{{ partial "featured-blogs.html" . }}
391-
392395
<!--=======================================================
393396
READY TO BEGIN
394397
=========================================================-->

0 commit comments

Comments
 (0)