Comments (3)
Sorry, my fault. I'm a little busy, completely slipped my mind. I'm closing now, thanks for answer. I think aero will come to a better place :)
from aero.
Hi,
You can decide which title is going to be used. See Layout.
The default for titles, if no layout/layout.jade
file is used, is this:
title= app.config.title
But you can change it to something different:
title= app.config.title + ' - ' + page.json.title
The above code would require you to add JSON data title
to every page of your site.
The only problem is it doesn't automatically change when the aero-ajax plugin is used. Header changes on AJAX requests are difficult to implement and not available yet.
from aero.
Let me know about the problems you're facing (concerning this issue).
In case there are no problems remaining, let's close this issue.
from aero.
Related Issues (20)
- Can we set Body Parser and Serializer? HOT 1
- Unable to bind to dynamic ports (Heroku) HOT 2
- How to serve static files outside of aero on root route '/'? HOT 4
- Proper way to use socket.io with aero? HOT 4
- Implement response.sendFile() and app.sendFile()
- How to use app variable in pages ? HOT 4
- Unknown plugin error in aero-ajax HOT 4
- Cache HTML 5 validator results HOT 1
- Server stop error HOT 1
- Add a watcher for api-keys.json
- If-None-Match HOT 1
- Configurable max-age
- markdown-it HOT 1
- uWebSockets HOT 1
- How to use route parameters ? HOT 2
- Global mixins (for pug templates)
- From 99/100 back to 100/100 PageSpeed
- GPL -> LGPL/ZLIB/BSD/MIT? HOT 6
- Road map 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 aero.