Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: fixed series navigation by addign a check to ensure article.seri… #181

Merged
merged 1 commit into from
Mar 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
rehanhaider marked this conversation as resolved.
Show resolved Hide resolved
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}
rehanhaider marked this conversation as resolved.
Show resolved Hide resolved

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