Skip to content

Commit

Permalink
FIX: fixed series navigation by addign a check to ensure article.seri…
Browse files Browse the repository at this point in the history
…es is a vlid object and not string
  • Loading branch information
rehanhaider committed Mar 3, 2024
1 parent a6db275 commit 5347f5d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
12 changes: 12 additions & 0 deletions content/aws/50001040-cdk-fn-lambda-aws-docker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Title: Run a lambda function in a custom docker image using AWS CDK in Python
Date: 2023-11-09
Category: AWS Academy
Series: AWS CDK
series_index: 1040
Tags: aws, cdk, python
Author: Rehan Haider
Summary: This article provides a walkthrough on how to deploy an AWS Lambda function using a custom Docker image with AWS CDK in Python
Keywords: lambda, cdk, docker
Status: Draft


Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<!-- FILEPATH: /workspaces/cloudbytes/design/alexis/templates/layouts/partial/series_navigation.html -->


<div class="series_navigation">
<ul class="pagination">

{% if article.series is not string %}
{% if article.series.previous == None %}
<li class="page-item">
<a class="page-link" aria-label="Previous"><span>
Expand Down Expand Up @@ -33,6 +34,7 @@
>></span></a>
</li>
{% endif %}
{% endif %}
</ul>
</div>

Expand Down
3 changes: 1 addition & 2 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@
(1, "{url}", "{save_as}"),
(2, "{base_name}/{number}/", "{base_name}/{number}/index.html"),
)
PAGINATED_TEMPLATES = {"index": None,
"tag": None, "category": None, "author": None}
PAGINATED_TEMPLATES = {"index": None, "tag": None, "category": None, "author": None}

# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
Expand Down

0 comments on commit 5347f5d

Please sign in to comment.