Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to add more line(s) to the affiliation field #26

Open
binchen19 opened this issue Sep 6, 2024 · 1 comment
Open

how to add more line(s) to the affiliation field #26

binchen19 opened this issue Sep 6, 2024 · 1 comment

Comments

@binchen19
Copy link

Hi, I have a quick question. It works well if I put only one line for the affiliation info in the _config.yml. But if i want to add more (such as my department, college etc), how should I format it in the .yml file?

Thanks!

@yaoyao-liu
Copy link
Owner

Hi @binchen19

Thank you so much for your interest in our project!

Currently, it is not possible to add more lines by changing _config.yml. You need to change the code in _layouts/homepage.html:

{% if site.affiliation %}
<a href="{{ site.affiliation_link }}" rel="noopener"><autocolor>{{ site.affiliation }}</autocolor></a>
<br>
{% endif %}

In the html file, you may use <br> to add line breaks.

If you have any further questions, please feel free to contact me.

Best,

Yaoyao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants