Skip to content

Commit c555dcc

Browse files
author
aryan
committed
add styling for docs type and add layout for assignments
1 parent f9f6587 commit c555dcc

File tree

4 files changed

+45
-2
lines changed

4 files changed

+45
-2
lines changed

content/assignments/statistics/week-1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ cascade:
88

99
### Statistics Graded Assignment 1
1010

11-
<div class="card hextra-card hx-border-gray-200 ">
1211
The education minister wants to know the status of campus placements of B.Tech students in different engineering institutes of India. An analyst did a survey on the randomly selected four IITs of India and analysed the status of campus placements. Based on the information given, answer the questions (1), (2) and (3).
1312

13+
<div class="card ">
1414
1. Identify the sample and population.
1515

1616
- [ ] The sample consists of all the engineering institutes of India and the population consists of randomly selected four IITs of India.
@@ -33,7 +33,7 @@ The sample consists of four randomly selected IITs of India and the population c
3333

3434
---
3535

36-
<div class="card hextra-card hx-border-gray-200 ">
36+
<div class="card ">
3737
2. The report given by an analyst to the education minister about the status of campus placements states that “The campus placement of B.Tech students is 95% in different engineering institutes of India”. The given statement of analyst is based on which kind of statistical analysis?
3838

3939
- [x]Descriptive Statistics
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Week 2
3+
linkTitle: Week 2 ❤️
4+
weight: 2
5+
cascade:
6+
type: docs
7+
---

layouts/assignments/list.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{{ define "main" }}
2+
<div class='hx-mx-auto hx-flex {{ partial "utils/page-width" . }}'>
3+
{{ partial "sidebar.html" (dict "context" .) }}
4+
{{ partial "toc.html" . }}
5+
<article class="hx-w-full hx-break-words hx-flex hx-min-h-[calc(100vh-var(--navbar-height))] hx-min-w-0 hx-justify-center hx-pb-8 hx-pr-[calc(env(safe-area-inset-right)-1.5rem)]">
6+
<main class="hx-w-full hx-min-w-0 hx-max-w-6xl hx-px-6 hx-pt-4 hx-md-px-4">
7+
{{ partial "breadcrumb.html" . }}
8+
<div class="content">
9+
{{ if .Title }}<h1>{{ .Title }}</h1>{{ end }}
10+
{{ .Content }}
11+
</div>
12+
{{ partial "components/last-updated.html" . }}
13+
{{ partial "components/pager.html" . }}
14+
{{ partial "components/comments.html" . }}
15+
</main>
16+
</article>
17+
</div>
18+
{{ end }}

layouts/docs/single.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{{ define "main" }}
2+
<div class='hx-mx-auto hx-flex {{ partial "utils/page-width" . }}'>
3+
{{ partial "sidebar.html" (dict "context" .) }}
4+
{{ partial "toc.html" . }}
5+
<article class="hx-w-full hx-break-words hx-flex hx-min-h-[calc(100vh-var(--navbar-height))] hx-min-w-0 hx-justify-center hx-pb-8 hx-pr-[calc(env(safe-area-inset-right)-1.5rem)]">
6+
<main class="hx-w-full hx-min-w-0 hx-max-w-6xl hx-px-3 hx-pt-4 hx-md-px-12">
7+
{{ partial "breadcrumb.html" . }}
8+
<div class="content">
9+
{{/* {{ if .Title }}<h1>{{ .Title }}</h1>{{ end }} */}}
10+
{{ .Content }}
11+
</div>
12+
{{ partial "components/last-updated.html" . }}
13+
{{ partial "components/pager.html" . }}
14+
{{ partial "components/comments.html" . }}
15+
</main>
16+
</article>
17+
</div>
18+
{{ end }}

0 commit comments

Comments
 (0)