# File Breakdown for a Static Website
SEE ALSO: [[GitHub]] | [[Create a Website]]
(note: files are listed in callouts)
>[!note]- Readme.md
>gives a description and instructions for the code
>[!note]- .gitignore
>ignores certain files
>[!note]- 404.html
>error page when url not found
### css
>[!note]- main.scss
#### \_layouts
templates for different types of web pages
>[!note]- default.html
>the base layout for every web page
#### \_includes
`.html` components
>[!note]- head.html
>general application
>
>maybe add:
>
>>```
>>{% capture title %}
>> {%- if site.title and (site.title != page.title) -%}
>> {{ page.title }} | {{ site.title }}
>> {%- else -%}
>> {{ page.title }}
>> {%- endif -%}
>>{% endcapture %}
>>```
### (not folder restricted)
>[!info]- index.md
>can be `.md` or `.html`
>the landing page for the website