Comments (2)
my head.liquid file:-
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{% capture resource_title %}{{ title | strip_html | strip_newlines }}{% endcapture %}
<title>{% if resource_title != "Index" %}{{ resource_title | escape }} | {{ metadata.title | escape }}{% else %}{{ metadata.title | escape }} | {{ metadata.tagline | escape }}{% endif %}</title>
<meta name="description" content="{{ metadata.description }}" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="stylesheet" href="{% asset_path css %}" />
<script src="{% asset_path js %}" defer></script>
{% live_reload_dev_js %}
{% seo title=false %}
{% if bridgetown.environment == "production" %}
{% render "third_party_scripts" %}
{% endif %}
my default.liquid layaout file:-
<!doctype html>
<html lang="{{ site.locale }}" class="scroll-smooth">
<head>
{% render "head", metadata: site.metadata, title: data.title %}
</head>
<body class="{{ data.layout }} {{ data.page_class }}">
{% render "navbar", metadata: site.metadata, resource: resource, data: site.data %}
<main>
<div class="mx-auto max-w-full px-4 sm:px-6 lg:px-8 lg:py-8">
{{ content }}
</div>
</main>
{% render "footer", metadata: site.metadata, data: site.data %}
</body>
</html>
from bridgetown.
@ayushn21 @jaredcwhite - any update
from bridgetown.
Related Issues (20)
- New head partials still using `webpack_path`
- Pagination and multi locales HOT 1
- docs: improve documentation on hooks and inflections HOT 2
- The `paginate` front matter variable is ignored by prototype pages
- feat: Allow pages without front matter to be processed HOT 1
- Pages which `paginate` are excluded from `collections.pages` HOT 3
- Unable to access frontmatter array HOT 3
- feat: Folder inversion — source files in root folder, Bridgetown support files in subfolder HOT 9
- docs: How to setup GitHub Pages + Bridgetown HOT 1
- Netlify bundled configuration issues HOT 3
- docs: Bundling images HOT 1
- docs: /docs/installation/windows
- esbuild can't import scss files from node_modules HOT 1
- LogWriter not compatible with the Ruby 3.3 implementation of Logger HOT 1
- feat: `_html` translation key automatic safety support HOT 1
- docs: show how to read collections in SSR mode HOT 1
- NameError when using bridgetown-activerecord with Roda HOT 6
- Issue with Resource API following #778 HOT 1
- docs: use symbolic link for `bt` binstub HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bridgetown.