summaryrefslogtreecommitdiffstats
path: root/site/content/docs/5.2/examples/blog
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-01-24 12:33:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-01-24 12:33:51 +0000
commit3ea39841c8049525e31e9f4d6300f0c60cdb42de (patch)
tree855de60a8872eafb5911acd303aedcdbfe713a73 /site/content/docs/5.2/examples/blog
parentInital commit. (diff)
downloadbootstrap-html-3ea39841c8049525e31e9f4d6300f0c60cdb42de.tar.xz
bootstrap-html-3ea39841c8049525e31e9f4d6300f0c60cdb42de.zip
Adding upstream version 5.2.3+dfsg.upstream/5.2.3+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--site/content/docs/5.2/examples/blog-rtl/index.html206
-rw-r--r--site/content/docs/5.2/examples/blog/blog.css69
-rw-r--r--site/content/docs/5.2/examples/blog/blog.rtl.css69
-rw-r--r--site/content/docs/5.2/examples/blog/index.html258
4 files changed, 602 insertions, 0 deletions
diff --git a/site/content/docs/5.2/examples/blog-rtl/index.html b/site/content/docs/5.2/examples/blog-rtl/index.html
new file mode 100644
index 0000000..05af925
--- /dev/null
+++ b/site/content/docs/5.2/examples/blog-rtl/index.html
@@ -0,0 +1,206 @@
+---
+layout: examples
+title: قالب المدونة
+direction: rtl
+extra_css:
+ - "https://fonts.googleapis.com/css?family=Amiri:wght@400;700&display=swap"
+ - "../blog/blog.rtl.css"
+include_js: false
+---
+
+<div class="container">
+ <header class="blog-header lh-1 py-3">
+ <div class="row flex-nowrap justify-content-between align-items-center">
+ <div class="col-4 pt-1">
+ <a class="link-secondary" href="#">الإشتراك في النشرة البريدية</a>
+ </div>
+ <div class="col-4 text-center">
+ <a class="blog-header-logo text-dark" href="#">كبير</a>
+ </div>
+ <div class="col-4 d-flex justify-content-end align-items-center">
+ <a class="link-secondary" href="#" aria-label="بحث">
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="mx-3" role="img" viewBox="0 0 24 24"><title>بحث</title><circle cx="10.5" cy="10.5" r="7.5"/><path d="M21 21l-5.2-5.2"/></svg>
+ </a>
+ <a class="btn btn-sm btn-outline-secondary" href="#">إنشاء حساب</a>
+ </div>
+ </div>
+ </header>
+
+ <div class="nav-scroller py-1 mb-2">
+ <nav class="nav d-flex justify-content-between">
+ <a class="p-2 link-secondary" href="#">العالم</a>
+ <a class="p-2 link-secondary" href="#">الولايات المتحدة</a>
+ <a class="p-2 link-secondary" href="#">التقنية</a>
+ <a class="p-2 link-secondary" href="#">التصميم</a>
+ <a class="p-2 link-secondary" href="#">الحضارة</a>
+ <a class="p-2 link-secondary" href="#">المال والأعمال</a>
+ <a class="p-2 link-secondary" href="#">السياسة</a>
+ <a class="p-2 link-secondary" href="#">الرأي العام</a>
+ <a class="p-2 link-secondary" href="#">العلوم</a>
+ <a class="p-2 link-secondary" href="#">الصحة</a>
+ <a class="p-2 link-secondary" href="#">الموضة</a>
+ <a class="p-2 link-secondary" href="#">السفر</a>
+ </nav>
+ </div>
+</div>
+
+<main class="container">
+ <div class="p-4 p-md-5 mb-4 rounded text-bg-dark">
+ <div class="col-md-6 px-0">
+ <h1 class="display-4 fst-italic">عنوان تدوينة مميزة أطول</h1>
+ <p class="lead my-3">عدة أسطر نصية متعددة تعبر عن التدوية، وذلك لإعلام القراء الجدد بسرعة وكفاءة حول أكثر الأشياء إثارة للاهتمام في محتويات هذه التدوينة.</p>
+ <p class="lead mb-0"><a href="#" class="text-white fw-bold">أكمل القراءة...</a></p>
+ </div>
+ </div>
+
+ <div class="row mb-2">
+ <div class="col-md-6">
+ <div class="row g-0 border rounded overflow-hidden flex-md-row mb-4 shadow-sm h-md-250 position-relative">
+ <div class="col p-4 d-flex flex-column position-static">
+ <strong class="d-inline-block mb-2 text-primary">العالم</strong>
+ <h3 class="mb-0">مشاركة مميزة</h3>
+ <div class="mb-1 text-muted">نوفمبر 12</div>
+ <p class="card-text mb-auto">هذه بطاقة أوسع مع نص داعم أدناه كمقدمة طبيعية لمحتوى إضافي.</p>
+ <a href="#" class="stretched-link">أكمل القراءة</a>
+ </div>
+ <div class="col-auto d-none d-lg-block">
+ {{< placeholder width="200" height="250" background="#55595c" color="#eceeef" text="صورة مصغرة" >}}
+ </div>
+ </div>
+ </div>
+ <div class="col-md-6">
+ <div class="row g-0 border rounded overflow-hidden flex-md-row mb-4 shadow-sm h-md-250 position-relative">
+ <div class="col p-4 d-flex flex-column position-static">
+ <strong class="d-inline-block mb-2 text-success">التصميم</strong>
+ <h3 class="mb-0">عنوان الوظيفة</h3>
+ <div class="mb-1 text-muted">نوفمبر 11</div>
+ <p class="mb-auto">هذه بطاقة أوسع مع نص داعم أدناه كمقدمة طبيعية لمحتوى إضافي.</p>
+ <a href="#" class="stretched-link">أكمل القراءة</a>
+ </div>
+ <div class="col-auto d-none d-lg-block">
+ {{< placeholder width="200" height="250" background="#55595c" color="#eceeef" text="صورة مصغرة" >}}
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div class="row">
+ <div class="col-md-8">
+ <h3 class="pb-4 mb-4 fst-italic border-bottom">
+ من Firehose
+ </h3>
+
+ <article class="blog-post">
+ <h2 class="blog-post-title mb-1">مثال على تدوينة</h2>
+ <p class="blog-post-meta">1 يناير 2021 بواسطة <a href="#"> Mark </a></p>
+
+ <p>تعرض مشاركة المدونة هذه بضعة أنواع مختلفة من المحتوى الذي يتم دعمه وتصميمه باستخدام Bootstrap. النصوص الأساسية، الصور، والأكواد مدعومة بشكل كامل.</p>
+ <hr>
+ <p>يشكِّل تأمين الغذاء في المستقبل قضية تؤرِّق حكومات العالَم والعلماء على حدٍّ سواء. فخلال القرن العشرين ازداد عدد سكان الأرض أربعة أضعاف، وتشير التقديرات إلى أن العدد سوف يصل إلى عشرة مليارات إنسان بحلول عام 2050م. وسوف تمثل هذه الزيادة الهائلة تحدياً كبيراً وضغطاً متصاعداً على قدرة الإنتاج الزراعي. الأمر الذي كان ولا بد من أن يدفع إلى تطوير تقنيات مبتكرة في تصنيع الغذاء غير الزراعة، منها تقنية مستقبلية تقوم على تصنيع الغذاء من الهواء.</p>
+ <blockquote>
+ <p>تشغل الزراعة مساحات كبيرة من اليابسة، وتستهلك كميات هائلة من المياه، كما أن إنتاج الغذاء بواسطة الزراعة يسهم بنسبة عالية من انبعاثات غازات الاحتباس الحراري العالمية</p>
+ </blockquote>
+ <p>تشغل الزراعة مساحات كبيرة من اليابسة، وتستهلك كميات هائلة من المياه. كما أن إنتاج الغذاء بواسطة الزراعة يسهم بنسبة عالية من انبعاثات غازات الاحتباس الحراري العالمية، وللمقارنة فإن هذه النسبة من الانبعاثات هي أكبر مما ينتجه قطاع النقل بكل ما فيه من سيارات وشاحنات وطائرات وقطارات.</p>
+ <h2>عنوان</h2>
+ <p>تحصل النباتات على غذائها بواسطة عملية تسمى البناء الضوئي، حيث تقوم النباتات بتحويل ضوء الشمس والماء وثاني أكسيد الكربون الموجود في الغلاف الجوي إلى غذاء وتطلق الأكسجين كمنتج ثانوي لهذا التفاعل الكيميائي. وتحدث هذه العملية في "البلاستيدات الخضراء". فالنباتات تستفيد من طاقة ضوء الشمس في تقسيم الماء إلى هيدروجين وأكسجين، وتحدث تفاعلات كيميائية أخرى ينتج عنها سكر الجلكوز الذي تستخدمه كمصدر للغذاء وينطلق الأكسجين من النباتات إلى الغلاف الجوي. وهذا يعني أن النباتات تحوِّل ثاني أكسيد الكربون إلى غذاء من خلال تفاعلات كيميائية معقَّدة. ويُعد البناء الضوئي من أهم التفاعلات الكيميائية على كوكب الأرض، فقد ساعد في الماضي على تطوُّر كوكبنا وظهور الحياة عليه. فالنباتات تستخدم ثاني أكسيد الكربون لصنع غذائها، وتطلق الأكسجين لتساعد الكائنات الأخرى على التنفس!</p>
+ <h3>عنوان فرعي</h3>
+ <p>ألهمت هذه العملية علماء وكالة الفضاء الأمريكية (ناسا) خلال الستينيات من القرن الماضي، لبحث فكرة إطعام روَّاد الفضاء في مهمات الفضاء الطويلة مثل السفر إلى المريخ. وكانت واحدة من الأفكار الواعدة تصنيع الغذاء عن طريق ثاني أكسيد الكربون الذي ينتجه روَّاد الفضاء، لكن ليس بواسطة النباتات بل عن طريق ميكروبات صغيرة وحيدة الخلية قادرة على حصد ثاني أكسيد الكربون لإنتاج كميات وفيرة من البروتين المغذي على شكل مسحوق عديم النكهة، كما يمكن استخدام المادة في صنع الأطعمة المألوفة لدينا.</p>
+ <pre><code>Example code block</code></pre>
+ <p>وخلافاً لما هو الحال في عالم النبات، فإن هذه الميكروبات لا تستخدم الضوء كما يحدث في عملية البناء الضوئي التي تستخدمها النباتات للحصول على الغذاء، أي لأنها قادرة على النمو في الظلام. تسمى هذه البكتريا "هيدروجينوتروف" (Hydrogenotrophs)، وهي تستخدم الهيدروجين كوقود لإنتاج الغذاء من ثاني أكسيد الكربون. فعندما يُنتج روَّاد الفضاء ثاني أكسيد الكربون، تلتقطه الميكروبات، ويتحوَّل مع مدخلات أخرى إلى غذاء غني بالكربون. وبهذه الطريقة سوف نحصل على دورة كربون مغلقة الحلقة.</p>
+ <h3>عنوان فرعي</h3>
+ <p>بعد مرور أكثر من نصف قرن على أبحاث ناسا، تعمل حالياً عدة شركات في قطاع البيولوجيا التركيبية من ضمنها إير بروتين (Air Protein) وسولار فودز (Solar Foods) على تطوير جيل جديد من المنتجات الغذائية المستدامة، من دون وجود بصمة كربونية. ولن تقتصر هذه المنتجات الغذائية على روَّاد الفضاء فحسب، بل سوف تمتد لتشمل جميع سكان الأرض، وسوف تُنتَج في فترة زمنية قصيرة، بدلاً من الشهور، ومن دون الاعتماد على الأراضي الزراعية. وهذا يعني الحصول على منتجات غذائية بشكل سريع جداً. كما سيصبح من الممكن تصنيع الغذاء بطريقة عمودية من خلال هذه الميكروبات، بدلاً من الطريقة الأفقية التقليدية الشبيهة بتقنية الزراعة العمودية الحديثة. وهذا يعني توفير منتجات غذائية أكبر من المساحة نفسها.</p>
+ <p>يتكوَّن الغذاء البشري من ثلاثة أنواع رئيسة، هي:</p>
+ <ul>
+ <li>البروتينات</li>
+ <li>الكربوهيدرات</li>
+ <li>الدهون</li>
+ </ul>
+ <p>وتتكوَّن البروتينات من الأحماض الأمينية، وهي مجموعة من المركبات العضوية يبلغ عددها في جسم الإنسان عشرين حمضاً أمينياً، من بينها تسعة أساسية يحصل عليها الجسم من الغذاء. وتتكوَّن الأحماض الأمينية بشكل أساس من:</p>
+ <ol>
+ <li>الكربون</li>
+ <li>الهيدروجين</li>
+ <li>الأكسجين</li>
+ <li>النيتروجين</li>
+ </ol>
+ <p>ومن الملاحظ أن النيتروجين يشكِّل نسبة %78 من الهواء، كما أن الهيدروجين نحصل عليه من خلال التحليل الكهربائي للماء، ومن الممكن نظرياً سحب الكربون من الهواء لتشكيل هذه الأحماض، ذلك أن الكربون هو العمود الفقري للأحماض الأمينية، كما أن الحياة على كوكب الأرض قائمة على الكربون لقدرته على تكوين سلاسل كربونية طويلة، وهذا ما تفعله الميكروبات بتصنيع أحماض أمينية من ثاني أكسيد الكربون من خلال مجموعة من التفاعلات الكيميائية المعقَّدة. وإضافة إلى صنع وجبات غنية بالبروتين، فهذه الميكروبات تنتج منتجات أخرى مثل الزيوت التي لها عديد من الاستخدامات.</p>
+ </article>
+
+ <article class="blog-post">
+ <h2 class="blog-post-title mb-1">تدوينة أخرى</h2>
+ <p class="blog-post-meta">23 ديسمبر 2020 بواسطة <a href="#">Jacob</a></p>
+
+ <p>في الوقت الحالي، تدرس عدَّة شركات هذه الميكروبات بشكل أعمق، وتستزرعها من أجل الحصول على الغذاء. ففي عام 2019م، أعلن باحثون في شركة (Air Protein) الأمريكية نجاحهم في تحويل ثاني أكسيد الكربون الموجود في الهواء إلى لحوم صناعية مصنوعة من البروتين، التي لا تتطلَّب أي أرض زراعية، بل هي معتمدة بشكل أساسي على الهواء.</p>
+ <blockquote>
+ <p>تم تصنيع اللحوم بأنواع عديدة</p>
+ </blockquote>
+ <p>إذ استخدم هؤلاء الباحثون الهواء والطاقة المتجدِّدة كمدخلات في عملية مشابهة للتخمير، لإنتاج بروتين يحتوي على الأحماض الأمينية التسعة الأساسية وغني بالفيتامينات والمعادن، كما أنه خالٍ من الهرمونات والمضادات الحيوية والمبيدات الحشرية ومبيدات الأعشاب.</p>
+ <p> وتم تصنيع اللحوم بأنواع عديدة بما فيها الدواجن والأبقار والمأكولات البحرية، من دون حصول انبعاثات كربونية، على عكس تربية الأبقار التي تسهم في انبعاث غاز الميثان أحد غازات الاحتباس الحراري.</p>
+ </article>
+
+ <article class="blog-post">
+ <h2 class="blog-post-title mb-1">ميزة جديدة</h2>
+ <p class="blog-post-meta">14 ديسمبر 2020 بواسطة <a href="#">Jacob</a></p>
+
+ <p>كما أن الشركة الفنلندية (Solar Foods) طوَّرت تقنية لإنتاج البروتين من الهواء، حيث تبدأ العملية بتقسيم الماء إلى مكوناته الهيدروجين والأكسجين عن طريق الكهرباء. فالهيدروجين يوفِّر الطاقة للبكتريا لتحويل ثاني أكسيد الكربون والنيتروجين الموجودين في الهواء إلى مادة عضوية غنية بالبروتين بشكل أكفأ من نمو النباتات باستخدام البناء الضوئي. وهذا البروتين يشبه دقيق القمح وقد أطلق عليه اسم "سولين" (Solein).</p>
+ <p>وتقوم الشركة حالياً بجمع البيانات حول المنتج الغذائي لتقديمه إلى الاتحاد الأوروبي بهدف الحصول على ترخيص غذائي، كما أنها تخطط لبدء الإنتاج التجاري في العام المقبل 2021م. وقد أوضحت الشركة أنها مهتمة بإنتاج أطعمة صديقة للبيئة من خلال استخدام المواد الأساسية: الكهرباء وثاني أكسيد الكربون، وهذه الأطعمة سوف تجنبنا الأثر السلبي البيئي للزراعة التقليدية الذي يشمل كل شيء من استخدام الأرض والمياه إلى الانبعاثات الناتجة من تسميد المحاصيل أو تربية الحيوانات.</p>
+ <p>وعلى هذا، فإن البروتينات المشتقة من الميكروبات سوف:</p>
+ <ul>
+ <li>توفر حلاً ممكناً في ظل زيادة الطلب العالمي المستقبلي على الغذاء</li>
+ <li>تتوسع مصانع الغذاء في المستقبل لتكون أكفأ وأكثر استدامة</li>
+ <li>تصبح قادرة على توفير الغذاء لروَّاد الفضاء في سفرهم إلى المريخ وجميع سكان كوكب الأرض في عام 2050م</li>
+ </ul>
+ <p>فتخيّل أن الميكروبات ستكون مصانع المستقبل، وأن غذاء المستقبل سيكون مصنوعاً من الهواء! وأن عام 2050م سيكون مختلفاً تماماً عن عالمنا اليوم. فهو عالم من دون زراعة ولا تربية حيوانات من أجل الغذاء! قد يبدو ذلك خيالياً لكنه ليس مستحيلاً!</p>
+ </article>
+
+ <nav class="blog-pagination" aria-label="Pagination">
+ <a class="btn btn-outline-primary rounded-pill" href="#">تدوينات أقدم</a>
+ <a class="btn btn-outline-secondary rounded-pill disabled">تدوينات أحدث</a>
+ </nav>
+
+ </div>
+
+ <div class="col-md-4">
+ <div class="position-sticky" style="top: 2rem;">
+ <div class="p-4 mb-3 bg-light rounded">
+ <h4 class="fst-italic">حول</h4>
+ <p class="mb-0">أقبلت، فأقبلت معك الحياة بجميع صنوفها وألوانها: فالنبات ينبت، والأشجار تورق وتزهر، والهرة تموء، والقمري يسجع، والغنم يثغو، والبقر يخور، وكل أليف يدعو أليفه. كل شيء يشعر بالحياة وينسي هموم الحياة، ولا يذكر إلا سعادة الحياة، فإن كان الزمان جسدا فأنت روحه، وإن كان عمرا فأنت شبابه.</p>
+ </div>
+
+ <div class="p-4">
+ <h4 class="fst-italic">الأرشيف</h4>
+ <ol class="list-unstyled mb-0">
+ <li><a href="#">مارس 2021</a></li>
+ <li><a href="#">شباط 2021</a></li>
+ <li><a href="#">يناير 2021</a></li>
+ <li><a href="#">ديسمبر 2020</a></li>
+ <li><a href="#">نوفمبر 2020</a></li>
+ <li><a href="#">أكتوبر 2020</a></li>
+ <li><a href="#">سبتمبر 2020</a></li>
+ <li><a href="#">اغسطس 2020</a></li>
+ <li><a href="#">يوليو 2020</a></li>
+ <li><a href="#">يونيو 2020</a></li>
+ <li><a href="#">مايو 2020</a></li>
+ <li><a href="#">ابريل 2020</a></li>
+ </ol>
+ </div>
+
+ <div class="p-4">
+ <h4 class="fst-italic">في مكان آخر</h4>
+ <ol class="list-unstyled">
+ <li><a href="#">GitHub</a></li>
+ <li><a href="#">Twitter</a></li>
+ <li><a href="#">Facebook</a></li>
+ </ol>
+ </div>
+ </div>
+ </div>
+ </div>
+
+</main>
+
+<footer class="blog-footer">
+ <p>تم تصميم نموذج المدونة لـ <a href="https://getbootstrap.com/">Bootstrap</a> بواسطة <a href="https://twitter.com/mdo"><bdi lang="en" dir="ltr">@mdo</bdi></a>.</p>
+ <p>
+ <a href="#">عد إلى الأعلى</a>
+ </p>
+</footer>
diff --git a/site/content/docs/5.2/examples/blog/blog.css b/site/content/docs/5.2/examples/blog/blog.css
new file mode 100644
index 0000000..cc5fc74
--- /dev/null
+++ b/site/content/docs/5.2/examples/blog/blog.css
@@ -0,0 +1,69 @@
+/* stylelint-disable selector-list-comma-newline-after */
+
+.blog-header {
+ border-bottom: 1px solid #e5e5e5;
+}
+
+.blog-header-logo {
+ font-family: "Playfair Display", Georgia, "Times New Roman", serif/*rtl:Amiri, Georgia, "Times New Roman", serif*/;
+ font-size: 2.25rem;
+}
+
+.blog-header-logo:hover {
+ text-decoration: none;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ font-family: "Playfair Display", Georgia, "Times New Roman", serif/*rtl:Amiri, Georgia, "Times New Roman", serif*/;
+}
+
+.display-4 {
+ font-size: 2.5rem;
+}
+@media (min-width: 768px) {
+ .display-4 {
+ font-size: 3rem;
+ }
+}
+
+.flex-auto {
+ flex: 0 0 auto;
+}
+
+.h-250 { height: 250px; }
+@media (min-width: 768px) {
+ .h-md-250 { height: 250px; }
+}
+
+/* Pagination */
+.blog-pagination {
+ margin-bottom: 4rem;
+}
+
+/*
+ * Blog posts
+ */
+.blog-post {
+ margin-bottom: 4rem;
+}
+.blog-post-title {
+ font-size: 2.5rem;
+}
+.blog-post-meta {
+ margin-bottom: 1.25rem;
+ color: #727272;
+}
+
+/*
+ * Footer
+ */
+.blog-footer {
+ padding: 2.5rem 0;
+ color: #727272;
+ text-align: center;
+ background-color: #f9f9f9;
+ border-top: .05rem solid #e5e5e5;
+}
+.blog-footer p:last-child {
+ margin-bottom: 0;
+}
diff --git a/site/content/docs/5.2/examples/blog/blog.rtl.css b/site/content/docs/5.2/examples/blog/blog.rtl.css
new file mode 100644
index 0000000..fc03c35
--- /dev/null
+++ b/site/content/docs/5.2/examples/blog/blog.rtl.css
@@ -0,0 +1,69 @@
+/* stylelint-disable selector-list-comma-newline-after */
+
+.blog-header {
+ border-bottom: 1px solid #e5e5e5;
+}
+
+.blog-header-logo {
+ font-family: Amiri, Georgia, "Times New Roman", serif;
+ font-size: 2.25rem;
+}
+
+.blog-header-logo:hover {
+ text-decoration: none;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ font-family: Amiri, Georgia, "Times New Roman", serif;
+}
+
+.display-4 {
+ font-size: 2.5rem;
+}
+@media (min-width: 768px) {
+ .display-4 {
+ font-size: 3rem;
+ }
+}
+
+.flex-auto {
+ flex: 0 0 auto;
+}
+
+.h-250 { height: 250px; }
+@media (min-width: 768px) {
+ .h-md-250 { height: 250px; }
+}
+
+/* Pagination */
+.blog-pagination {
+ margin-bottom: 4rem;
+}
+
+/*
+ * Blog posts
+ */
+.blog-post {
+ margin-bottom: 4rem;
+}
+.blog-post-title {
+ font-size: 2.5rem;
+}
+.blog-post-meta {
+ margin-bottom: 1.25rem;
+ color: #727272;
+}
+
+/*
+ * Footer
+ */
+.blog-footer {
+ padding: 2.5rem 0;
+ color: #727272;
+ text-align: center;
+ background-color: #f9f9f9;
+ border-top: .05rem solid #e5e5e5;
+}
+.blog-footer p:last-child {
+ margin-bottom: 0;
+}
diff --git a/site/content/docs/5.2/examples/blog/index.html b/site/content/docs/5.2/examples/blog/index.html
new file mode 100644
index 0000000..6b60ea0
--- /dev/null
+++ b/site/content/docs/5.2/examples/blog/index.html
@@ -0,0 +1,258 @@
+---
+layout: examples
+title: Blog Template
+extra_css:
+ - "https://fonts.googleapis.com/css?family=Playfair+Display:700,900&display=swap"
+ - "blog.css"
+include_js: false
+---
+
+<div class="container">
+ <header class="blog-header lh-1 py-3">
+ <div class="row flex-nowrap justify-content-between align-items-center">
+ <div class="col-4 pt-1">
+ <a class="link-secondary" href="#">Subscribe</a>
+ </div>
+ <div class="col-4 text-center">
+ <a class="blog-header-logo text-dark" href="#">Large</a>
+ </div>
+ <div class="col-4 d-flex justify-content-end align-items-center">
+ <a class="link-secondary" href="#" aria-label="Search">
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="mx-3" role="img" viewBox="0 0 24 24"><title>Search</title><circle cx="10.5" cy="10.5" r="7.5"/><path d="M21 21l-5.2-5.2"/></svg>
+ </a>
+ <a class="btn btn-sm btn-outline-secondary" href="#">Sign up</a>
+ </div>
+ </div>
+ </header>
+
+ <div class="nav-scroller py-1 mb-2">
+ <nav class="nav d-flex justify-content-between">
+ <a class="p-2 link-secondary" href="#">World</a>
+ <a class="p-2 link-secondary" href="#">U.S.</a>
+ <a class="p-2 link-secondary" href="#">Technology</a>
+ <a class="p-2 link-secondary" href="#">Design</a>
+ <a class="p-2 link-secondary" href="#">Culture</a>
+ <a class="p-2 link-secondary" href="#">Business</a>
+ <a class="p-2 link-secondary" href="#">Politics</a>
+ <a class="p-2 link-secondary" href="#">Opinion</a>
+ <a class="p-2 link-secondary" href="#">Science</a>
+ <a class="p-2 link-secondary" href="#">Health</a>
+ <a class="p-2 link-secondary" href="#">Style</a>
+ <a class="p-2 link-secondary" href="#">Travel</a>
+ </nav>
+ </div>
+</div>
+
+<main class="container">
+ <div class="p-4 p-md-5 mb-4 rounded text-bg-dark">
+ <div class="col-md-6 px-0">
+ <h1 class="display-4 fst-italic">Title of a longer featured blog post</h1>
+ <p class="lead my-3">Multiple lines of text that form the lede, informing new readers quickly and efficiently about what’s most interesting in this post’s contents.</p>
+ <p class="lead mb-0"><a href="#" class="text-white fw-bold">Continue reading...</a></p>
+ </div>
+ </div>
+
+ <div class="row mb-2">
+ <div class="col-md-6">
+ <div class="row g-0 border rounded overflow-hidden flex-md-row mb-4 shadow-sm h-md-250 position-relative">
+ <div class="col p-4 d-flex flex-column position-static">
+ <strong class="d-inline-block mb-2 text-primary">World</strong>
+ <h3 class="mb-0">Featured post</h3>
+ <div class="mb-1 text-muted">Nov 12</div>
+ <p class="card-text mb-auto">This is a wider card with supporting text below as a natural lead-in to additional content.</p>
+ <a href="#" class="stretched-link">Continue reading</a>
+ </div>
+ <div class="col-auto d-none d-lg-block">
+ {{< placeholder width="200" height="250" background="#55595c" color="#eceeef" text="Thumbnail" >}}
+ </div>
+ </div>
+ </div>
+ <div class="col-md-6">
+ <div class="row g-0 border rounded overflow-hidden flex-md-row mb-4 shadow-sm h-md-250 position-relative">
+ <div class="col p-4 d-flex flex-column position-static">
+ <strong class="d-inline-block mb-2 text-success">Design</strong>
+ <h3 class="mb-0">Post title</h3>
+ <div class="mb-1 text-muted">Nov 11</div>
+ <p class="mb-auto">This is a wider card with supporting text below as a natural lead-in to additional content.</p>
+ <a href="#" class="stretched-link">Continue reading</a>
+ </div>
+ <div class="col-auto d-none d-lg-block">
+ {{< placeholder width="200" height="250" background="#55595c" color="#eceeef" text="Thumbnail" >}}
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div class="row g-5">
+ <div class="col-md-8">
+ <h3 class="pb-4 mb-4 fst-italic border-bottom">
+ From the Firehose
+ </h3>
+
+ <article class="blog-post">
+ <h2 class="blog-post-title mb-1">Sample blog post</h2>
+ <p class="blog-post-meta">January 1, 2021 by <a href="#">Mark</a></p>
+
+ <p>This blog post shows a few different types of content that’s supported and styled with Bootstrap. Basic typography, lists, tables, images, code, and more are all supported as expected.</p>
+ <hr>
+ <p>This is some additional paragraph placeholder content. It has been written to fill the available space and show how a longer snippet of text affects the surrounding content. We'll repeat it often to keep the demonstration flowing, so be on the lookout for this exact same string of text.</p>
+ <h2>Blockquotes</h2>
+ <p>This is an example blockquote in action:</p>
+ <blockquote class="blockquote">
+ <p>Quoted text goes here.</p>
+ </blockquote>
+ <p>This is some additional paragraph placeholder content. It has been written to fill the available space and show how a longer snippet of text affects the surrounding content. We'll repeat it often to keep the demonstration flowing, so be on the lookout for this exact same string of text.</p>
+ <h3>Example lists</h3>
+ <p>This is some additional paragraph placeholder content. It's a slightly shorter version of the other highly repetitive body text used throughout. This is an example unordered list:</p>
+ <ul>
+ <li>First list item</li>
+ <li>Second list item with a longer description</li>
+ <li>Third list item to close it out</li>
+ </ul>
+ <p>And this is an ordered list:</p>
+ <ol>
+ <li>First list item</li>
+ <li>Second list item with a longer description</li>
+ <li>Third list item to close it out</li>
+ </ol>
+ <p>And this is a definition list:</p>
+ <dl>
+ <dt>HyperText Markup Language (HTML)</dt>
+ <dd>The language used to describe and define the content of a Web page</dd>
+ <dt>Cascading Style Sheets (CSS)</dt>
+ <dd>Used to describe the appearance of Web content</dd>
+ <dt>JavaScript (JS)</dt>
+ <dd>The programming language used to build advanced Web sites and applications</dd>
+ </dl>
+ <h2>Inline HTML elements</h2>
+ <p>HTML defines a long list of available inline tags, a complete list of which can be found on the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element">Mozilla Developer Network</a>.</p>
+ <ul>
+ <li><strong>To bold text</strong>, use <code class="language-plaintext highlighter-rouge">&lt;strong&gt;</code>.</li>
+ <li><em>To italicize text</em>, use <code class="language-plaintext highlighter-rouge">&lt;em&gt;</code>.</li>
+ <li>Abbreviations, like <abbr title="HyperText Markup Language">HTML</abbr> should use <code class="language-plaintext highlighter-rouge">&lt;abbr&gt;</code>, with an optional <code class="language-plaintext highlighter-rouge">title</code> attribute for the full phrase.</li>
+ <li>Citations, like <cite>— Mark Otto</cite>, should use <code class="language-plaintext highlighter-rouge">&lt;cite&gt;</code>.</li>
+ <li><del>Deleted</del> text should use <code class="language-plaintext highlighter-rouge">&lt;del&gt;</code> and <ins>inserted</ins> text should use <code class="language-plaintext highlighter-rouge">&lt;ins&gt;</code>.</li>
+ <li>Superscript <sup>text</sup> uses <code class="language-plaintext highlighter-rouge">&lt;sup&gt;</code> and subscript <sub>text</sub> uses <code class="language-plaintext highlighter-rouge">&lt;sub&gt;</code>.</li>
+ </ul>
+ <p>Most of these elements are styled by browsers with few modifications on our part.</p>
+ <h2>Heading</h2>
+ <p>This is some additional paragraph placeholder content. It has been written to fill the available space and show how a longer snippet of text affects the surrounding content. We'll repeat it often to keep the demonstration flowing, so be on the lookout for this exact same string of text.</p>
+ <h3>Sub-heading</h3>
+ <p>This is some additional paragraph placeholder content. It has been written to fill the available space and show how a longer snippet of text affects the surrounding content. We'll repeat it often to keep the demonstration flowing, so be on the lookout for this exact same string of text.</p>
+ <pre><code>Example code block</code></pre>
+ <p>This is some additional paragraph placeholder content. It's a slightly shorter version of the other highly repetitive body text used throughout.</p>
+ </article>
+
+ <article class="blog-post">
+ <h2 class="blog-post-title mb-1">Another blog post</h2>
+ <p class="blog-post-meta">December 23, 2020 by <a href="#">Jacob</a></p>
+
+ <p>This is some additional paragraph placeholder content. It has been written to fill the available space and show how a longer snippet of text affects the surrounding content. We'll repeat it often to keep the demonstration flowing, so be on the lookout for this exact same string of text.</p>
+ <blockquote>
+ <p>Longer quote goes here, maybe with some <strong>emphasized text</strong> in the middle of it.</p>
+ </blockquote>
+ <p>This is some additional paragraph placeholder content. It has been written to fill the available space and show how a longer snippet of text affects the surrounding content. We'll repeat it often to keep the demonstration flowing, so be on the lookout for this exact same string of text.</p>
+ <h3>Example table</h3>
+ <p>And don't forget about tables in these posts:</p>
+ <table class="table">
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>Upvotes</th>
+ <th>Downvotes</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>Alice</td>
+ <td>10</td>
+ <td>11</td>
+ </tr>
+ <tr>
+ <td>Bob</td>
+ <td>4</td>
+ <td>3</td>
+ </tr>
+ <tr>
+ <td>Charlie</td>
+ <td>7</td>
+ <td>9</td>
+ </tr>
+ </tbody>
+ <tfoot>
+ <tr>
+ <td>Totals</td>
+ <td>21</td>
+ <td>23</td>
+ </tr>
+ </tfoot>
+ </table>
+
+ <p>This is some additional paragraph placeholder content. It's a slightly shorter version of the other highly repetitive body text used throughout.</p>
+ </article>
+
+ <article class="blog-post">
+ <h2 class="blog-post-title mb-1">New feature</h2>
+ <p class="blog-post-meta">December 14, 2020 by <a href="#">Chris</a></p>
+
+ <p>This is some additional paragraph placeholder content. It has been written to fill the available space and show how a longer snippet of text affects the surrounding content. We'll repeat it often to keep the demonstration flowing, so be on the lookout for this exact same string of text.</p>
+ <ul>
+ <li>First list item</li>
+ <li>Second list item with a longer description</li>
+ <li>Third list item to close it out</li>
+ </ul>
+ <p>This is some additional paragraph placeholder content. It's a slightly shorter version of the other highly repetitive body text used throughout.</p>
+ </article>
+
+ <nav class="blog-pagination" aria-label="Pagination">
+ <a class="btn btn-outline-primary rounded-pill" href="#">Older</a>
+ <a class="btn btn-outline-secondary rounded-pill disabled">Newer</a>
+ </nav>
+
+ </div>
+
+ <div class="col-md-4">
+ <div class="position-sticky" style="top: 2rem;">
+ <div class="p-4 mb-3 bg-light rounded">
+ <h4 class="fst-italic">About</h4>
+ <p class="mb-0">Customize this section to tell your visitors a little bit about your publication, writers, content, or something else entirely. Totally up to you.</p>
+ </div>
+
+ <div class="p-4">
+ <h4 class="fst-italic">Archives</h4>
+ <ol class="list-unstyled mb-0">
+ <li><a href="#">March 2021</a></li>
+ <li><a href="#">February 2021</a></li>
+ <li><a href="#">January 2021</a></li>
+ <li><a href="#">December 2020</a></li>
+ <li><a href="#">November 2020</a></li>
+ <li><a href="#">October 2020</a></li>
+ <li><a href="#">September 2020</a></li>
+ <li><a href="#">August 2020</a></li>
+ <li><a href="#">July 2020</a></li>
+ <li><a href="#">June 2020</a></li>
+ <li><a href="#">May 2020</a></li>
+ <li><a href="#">April 2020</a></li>
+ </ol>
+ </div>
+
+ <div class="p-4">
+ <h4 class="fst-italic">Elsewhere</h4>
+ <ol class="list-unstyled">
+ <li><a href="#">GitHub</a></li>
+ <li><a href="#">Twitter</a></li>
+ <li><a href="#">Facebook</a></li>
+ </ol>
+ </div>
+ </div>
+ </div>
+ </div>
+
+</main>
+
+<footer class="blog-footer">
+ <p>Blog template built for <a href="https://getbootstrap.com/">Bootstrap</a> by <a href="https://twitter.com/mdo">@mdo</a>.</p>
+ <p>
+ <a href="#">Back to top</a>
+ </p>
+</footer>