add bootstrap
This commit is contained in:
		
							
								
								
									
										3
									
								
								src/_assets/sass/base/_bootstrap_overrides.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								src/_assets/sass/base/_bootstrap_overrides.scss
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,3 @@
 | 
			
		||||
// Override bootstraps variables here
 | 
			
		||||
// Reference node_modules/bootstrap/scss/_variables.scss for a full list of variables
 | 
			
		||||
// https://getbootstrap.com/docs/4.3/getting-started/theming/#variable-defaults
 | 
			
		||||
@ -1,3 +1,9 @@
 | 
			
		||||
// Bootstrap overrides
 | 
			
		||||
@import './base/bootstrap_overrides';
 | 
			
		||||
 | 
			
		||||
// Bootstrap
 | 
			
		||||
@import './vendor/bootstrap';
 | 
			
		||||
 | 
			
		||||
/* Global variables. */
 | 
			
		||||
:root {
 | 
			
		||||
  /* Set sans-serif & mono fonts */
 | 
			
		||||
							
								
								
									
										1
									
								
								src/_assets/sass/vendor/_bootstrap.scss
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								src/_assets/sass/vendor/_bootstrap.scss
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1 @@
 | 
			
		||||
@import "./../../../../node_modules/bootstrap/scss/bootstrap.scss";
 | 
			
		||||
							
								
								
									
										4
									
								
								src/_data/site.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								src/_data/site.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,4 @@
 | 
			
		||||
{
 | 
			
		||||
  "title": "Add the title of your website here. This is used in the <title></title>",
 | 
			
		||||
  "description": "Add your site description here. This is used in <meta name='description' content=''>"
 | 
			
		||||
}
 | 
			
		||||
@ -4,7 +4,16 @@
 | 
			
		||||
    <meta charset="UTF-8" />
 | 
			
		||||
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
 | 
			
		||||
    <link rel="stylesheet" href="/css/styles.css" />
 | 
			
		||||
    <title>{{ title }}</title>
 | 
			
		||||
    {% if title %}
 | 
			
		||||
      <title>{{ site.title }} - {{ title }}</title>
 | 
			
		||||
    {% else %}
 | 
			
		||||
      <title>{{ site.title }}</title>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
    {% if description %}
 | 
			
		||||
      <meta name="description" content="{{ description }}">
 | 
			
		||||
    {% else %}
 | 
			
		||||
      <meta name="description" content="{{ site.description }}">
 | 
			
		||||
    {% endif %}
 | 
			
		||||
  </head>
 | 
			
		||||
  <body>
 | 
			
		||||
    <header>{% include 'partials/header.njk' %}</header>
 | 
			
		||||
@ -15,4 +24,5 @@
 | 
			
		||||
    </main>
 | 
			
		||||
    <footer>{% include 'partials/footer.njk' %}</footer>
 | 
			
		||||
  </body>
 | 
			
		||||
</html>
 | 
			
		||||
</html>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user