diff --git a/cao_blogr/services/blog_record.py b/cao_blogr/services/blog_record.py index 854739b..2b95b7e 100644 --- a/cao_blogr/services/blog_record.py +++ b/cao_blogr/services/blog_record.py @@ -43,7 +43,7 @@ class BlogRecordService(object): if request.authenticated_userid == None: # if user is anonym, display only published posts query = query.filter(BlogRecord.status == 'publiƩ') - query = query.order_by(sa.desc(BlogRecord.created)).limit(5).all() + query = query.order_by(sa.desc(BlogRecord.created)).limit(10).all() return query @classmethod diff --git a/cao_blogr/static/img/Don-niem-biet-co-loi.png b/cao_blogr/static/img/Don-niem-biet-co-loi.png new file mode 100644 index 0000000..dfad727 Binary files /dev/null and b/cao_blogr/static/img/Don-niem-biet-co-loi.png differ diff --git a/cao_blogr/static/img/KN-buoc_1.jpg b/cao_blogr/static/img/KN-buoc_1.jpg new file mode 100644 index 0000000..8f5bc12 Binary files /dev/null and b/cao_blogr/static/img/KN-buoc_1.jpg differ diff --git a/cao_blogr/static/img/KN-buoc_1.pdn b/cao_blogr/static/img/KN-buoc_1.pdn new file mode 100644 index 0000000..1c865ba Binary files /dev/null and b/cao_blogr/static/img/KN-buoc_1.pdn differ diff --git a/cao_blogr/static/img/PARLE_PAS_etape1.jpg b/cao_blogr/static/img/PARLE_PAS_etape1.jpg new file mode 100644 index 0000000..8615eb6 Binary files /dev/null and b/cao_blogr/static/img/PARLE_PAS_etape1.jpg differ diff --git a/cao_blogr/static/img/PARLE_PAS_etape1.pdn b/cao_blogr/static/img/PARLE_PAS_etape1.pdn new file mode 100644 index 0000000..cbc836f Binary files /dev/null and b/cao_blogr/static/img/PARLE_PAS_etape1.pdn differ diff --git a/cao_blogr/static/img/PP-5-etapes.png b/cao_blogr/static/img/PP-5-etapes.png index 99a2b73..b9945a0 100644 Binary files a/cao_blogr/static/img/PP-5-etapes.png and b/cao_blogr/static/img/PP-5-etapes.png differ diff --git a/cao_blogr/static/img/Parle-pas-avec-parole.png b/cao_blogr/static/img/Parle-pas-avec-parole.png new file mode 100644 index 0000000..a74c26f Binary files /dev/null and b/cao_blogr/static/img/Parle-pas-avec-parole.png differ diff --git a/cao_blogr/templates/settings.jinja2 b/cao_blogr/templates/settings.jinja2 index ba1f2c8..7df9b38 100644 --- a/cao_blogr/templates/settings.jinja2 +++ b/cao_blogr/templates/settings.jinja2 @@ -20,6 +20,11 @@