Open Source Comes to Campus/Curriculum/Directory: Difference between revisions

imported>Shauna
imported>Shauna
Line 65:
<blockquote>Here's a completely optional but neat trick: you can see the changes you've made by typing <code>git diff</code>. If you've fully undone your change, entering <code>git diff</code> should return nothing.</blockquote>
 
== Add your usernameyourself to the directory ==
 
The first thing we're going to do is make a simple change: you're going to add your username to the directory pageitself.
 
To do this, open up directoryindex.html. Find the list of links to users. If you're familiar with HTML, it should be easy enough for you to find. If you're not familiar with html, the line you're looking for looks like this:
<a href="#./profiles/" class="list-group-item">A person!</a> <!-- Copy this line and add your info. Don't forget the http:// -->
 
You want to add two piece of information. First, replace "A person!" with your github usernamename. Then, between the quote marks after "a href", add a link to your websiteprofile (http://{yourname}page. Your profile will be named <code>$your-github-username.io)html</code>.
 
The second thing you're going to do is make your own profile page so that the link you just made goes somewhere! To do this, you'll want to make a copy of the template:
cp template.html profiles/$your-github-username.html
 
You can then open up the new file and edit it to your heart's content! You can add information about yourself, the projects you want to learn about, the skills you want to contribute, and more.
 
== Commit and push ==
Anonymous user